Promotion
CodeGym University
Learning
Course
Tasks
Surveys & Quizzes
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme
Help with tasks
Reviews
About us
Start
Start learning
Start learning now
All questions
Ask a question
All quests
All levels
Any status
Questions about tasks
Hot
Brian
Level 18
Grand Rapids
Question about the task
Shared last names and first names
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Add 10 People to Map, and Add People With Same Last Name
I'm at a loss. As far as I can tell, I've met all of the conditions. Can anyone see why the third and fourth requirements are not being met?
29.01.2019
1840
views
12
comments
0
Arko Sarkar
Level 8
Mumbai
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Resolved
How to solve this?
Didn't add condition for if the lengths are equal. Getting output if first/second is bigger than its next value, otherwise stuck and can't go ahead!
31.08.2018
1597
views
2
comments
0
hidden #10424566
Level 7
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Please help my code puts the right output but there is still an error
30.01.2019
997
views
2
comments
0
Dilip Sahu
Level 2
Mumbai
Under discussion
The value assigned to the variable age must be 15.
public class Solution { public static void main(String[] args) { String name = "I'm"; String name1 = "again!"; int ag = 2; int age = ag + 13; //int money = 500; //int weight = 70; System.out.println(name+" "+age+" "+name1); } }
30.01.2019
1020
views
1
comment
0
anotherLearner
Level 18
Barcelona
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Cannot verify 4th condition
Cannot verify 4th condition
22.10.2018
1423
views
3
comments
0
Alex Balandinos
Level 18
Lusaka
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Hey there tried another way still get the same error..can anyone help me find the solution
29.01.2019
1746
views
3
comments
0
Ranjit Kumar Rajbanshi
Level 4
Kolkata
Question about the task
Don't feel like it? Do it anyway.
Java Syntax
,
Level 1
,
Lesson 8
Under discussion
i did this task all correct but its show u r failed
why?
30.01.2019
1106
views
2
comments
0
Pawan Harde
Level 4
Mumbai
Question about the task
Cats in the Universe
Java Syntax
,
Level 4
,
Lesson 2
Resolved
cant get the last condition
need HELPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
02.10.2018
1448
views
5
comments
0
Alex Balandinos
Level 18
Lusaka
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Hi there. Am getting an error saying the display text should fully match the text given. Ive done everything right so far..just that 1 mistake am making any suggestions will be very helpful.
29.01.2019
1123
views
5
comments
0
Jason Ahn
Level 4
Ottawa
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
Help please
I left 'else' statement blank. Even if I put 'else' statement and not write System.out.println, it won't work..Someone please help me thanks
24.01.2019
1219
views
5
comments
0
Mukesh Vudayagiri
Level 10
Ferokh
Question about the task
Man and woman
Java Syntax
,
Level 5
,
Lesson 12
Resolved
What's wrong here. Help
I have created two objects of each type. But, the compiler is showing an error (Be sure that you are creating 2 Man objects.). What's wrong here. Someone, please help. with an explanation.
29.08.2018
1944
views
4
comments
0
Tatoo Mindine
Level 4
Douala
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
link to study loops
i need a link on how to do loops please haven't touched that yet and i really want to complete this task using loops as suggested by Diego
26.01.2019
1092
views
4
comments
0
Myles Thompson
Level 4
Richardson
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Why does it keep telling me that "The displayed text must contain the entered name"?
It keeps saying "The displayed text must contain the entered name" and that I made a typo. But it does. When I type in the number and the name into the console, it prints out exactly what it said to print out. Does anyone know what I'm missing?
28.01.2019
1359
views
4
comments
0
Mohit Swain
Level 9
Bhubaneswar
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
feedback for my solutions
ok I had done this assignment but could not get the true meaning of the question. plz see my code in the link below and note . that i had taken the help of two more classes of Father and Mother, is it possible to do it without taking those classes? my code on cat relations
27.01.2019
1644
views
1
comment
0
Joyonta Saha
Level 31
Question about the task
A scary fairy tale
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Would Anyone please explain the problem more clearly?
A scary fairy tale 1. Once there were five classes: red riding hood, grandmother, pie, woodcutter, and wolf. 2. Each class has 2 fields: ArrayList killed and ArrayList ate. 3. The necessary objects have been created (hood, grandmother, ...). 4. Arrange the relationships correctly according to who at
05.09.2018
1770
views
4
comments
0
Sabine Meijran-Prins
Level 7
Enschede
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
Any hint would be appreciated..
Any hint would be appreciated..
27.01.2019
1292
views
3
comments
0
tony
Level 20
Nis
Question about the task
What's today's date?
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Pls help, what is going on here
When I run code in Eclipse or here in CodeGym everything works correct, but when I want to verify it, then CG displays an error.
31.12.2018
1315
views
1
comment
1
Sindhura
Level 15
Delhi
Question about the task
Method in a try-catch
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
whats wrong here..Its sating unreported exception.I am already keeping that part in try block
package com.codegym.task.task09.task0921; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; import java.io.*; /* Method in a try-catch */ public class Solution { public static void main(String[] args) { readData();
09.10.2018
1600
views
6
comments
0
Patson
Level 4
Kampala
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
how do i split the out put into individual lines? thank you
thank you
25.01.2019
1439
views
5
comments
0
Daniel Njuguna
Level 14
Kiambu
Under discussion
Help...Please.
import java.io.BufferedReader; import java.io.InputStreamReader; /* Ascending numbers */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int[]list=new int[5];
26.01.2019
1079
views
1
comment
0
Niket
Level 8
Kolkata
Question about the task
Fixing the mistakes of youth
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Getting this error - "Error converting a string to a number (invalid format)."
What to do? I am completely clueless..!
25.01.2019
1526
views
7
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
What is wrong here?
need hint
25.01.2019
1626
views
9
comments
0
Arjun Kiruthivasan
Level 14
Chennai
Question about the task
Catching custom exceptions
Java Syntax
,
Level 9
,
Lesson 8
Under discussion
WHERE AM I WRONG??
PLS HELP!!
23.09.2018
1617
views
3
comments
0
Sameh Tantawy
Level 3
Rania
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
What the problem when calling the method?
public class Solution { public static void main(String[] args) { int a = sqr(5); System.out.println("the square of 5" + a); } public static int sqr(int a) { return a * a; } } ================================================ What is the problem here … I call
26.01.2019
1107
views
2
comments
0
Siddhartha De
Level 8
Kolkata
Question about the task
Maximum in an array
Java Syntax
,
Level 7
,
Lesson 4
Resolved
Run shows no error, but output is always 0
Run shows no error, but output is always 0
25.01.2019
2021
views
2
comments
0
Dedcom
Level 19
Lahore
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Resolved
whats wrong with this code
wheres the problem
24.01.2019
1731
views
2
comments
0
Aditya Sinha
Level 17
Bangalore
Question about the task
Vowels and consonants
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Passing in Intellij but failing in codegym
Not able to figure what is the issue.It is working fine for the testcase given in question
25.01.2019
1300
views
3
comments
0
Azhar Iqbal
Level 18
Multan
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
Very frustrating question still not verifying.
IS there any error. or Bug
10.10.2018
1398
views
4
comments
0
Fairoz Logde
Level 14
Mumbai
Question about the task
Stack trace revisited
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
Why is my code not Compiling
package com.codegym.task.task09.task0902; /* Stack trace revisited */ import java.lang.StackTraceElement; public class Solution { public static void main(String[] args) throws Exception { method1(); } public static String method1() { method2(); return Thread.
29.12.2018
1526
views
2
comments
0
Marina
Level 18
Chisinau
Question about the task
Day of the week
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Can someone help me please?
I can't understand why my program doesn't work.
24.01.2019
1129
views
2
comments
0
Show more
1
...
341
342
343
344
345
...
366
Please enable JavaScript to continue using this application.