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
Connor
Level 8
Boston
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
Trouble understanding how to manipulate HashMaps
I've been having trouble really comprehending hashmaps from the start. I don't want to just copy code, that isn't how to learn. I've spent much longer on this than I would like, and no matter how many articles I've read on SO or in the JAVADOCS I'm just having a super hard time understanding the Ite
24.05.2019
1144
views
4
comments
0
satish
Level 15
kadapa
Question about the task
Greater than 10? You're not a good fit for us
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
whats the mistake
Adding the elements to a set is correct but why it is showing wrong
28.05.2019
938
views
1
comment
0
Yash
Level 15
Sugar Hill
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
Why not work
package com.codegym.task.task06.task0621; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /* Cat relations */ public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(n
28.05.2019
939
views
1
comment
0
Mohit Dubey
Level 4
Mumbai
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Please resolve this
According to the formula Answer is 5.0. Then how can it be 105.8;
28.05.2019
1771
views
2
comments
0
JeRiF94
Level 22
Baku
Question about the task
The early bird gets the worm
Java Core
,
Level 6
,
Lesson 13
Under discussion
MissUnderstood
I'm trying to understand , but nothing happen.
25.05.2019
1070
views
1
comment
0
Bert Doe
Level 22
Flanders
Question about the task
OOP: Books
Java Core
,
Level 5
,
Lesson 2
Under discussion
I don't know what's wrong with this code? only the agatha christie returns an error.
package com.codegym.task.task15.task1504; import java.util.LinkedList; import java.util.List; /* OOP: Books */ public class Solution { public static void main(String[] args) { List books = new LinkedList(); books.add(new MarkTwainBook("Tom Sawyer")); books.add(new A
01.05.2019
1343
views
2
comments
0
errorCode
Level 9
Makati
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Archived
Please help! I'm stuck. XD
I can't figured this out.
24.10.2018
1585
views
1
comment
0
Sargam
Level 3
Aligarh
Question about the task
Sam I Am
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
Help
I have covered 6 combinations.Which one's is left?
22.10.2018
1710
views
4
comments
0
Cinthya Cabanzo
Level 22
Bogota
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Resolved
Runs ok in IntelijIDEA but not in the Web Page
Hi Pals, Here said that "java.lang.NullPointerException: Solution.java, method main, line: 18" An attempt was made to access an uninitialized object (Null). But in the IDEA return : Apple 22 Bob 3 Cherry 1 0 Watermelon Process finished with exit code 0 Please help me.
27.05.2019
1528
views
7
comments
0
edis emin
Level 7
London
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 4
Archived
Why does this code work in Eclipse IDE but not on CodeGym IDE?
import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in)); String num = buffer.readLine(); int number = Integer.parseInt(num); if(number>0)
22.04.2019
1219
views
4
comments
0
Henk
Level 19
Pretoria
Question about the task
Horse racing
Java Core
,
Level 6
,
Lesson 5
Archived
code looks correct as per requirement, but I'm obviously missing something small ?
cannot pass 3rd requirement.... Also, the output is not coherent/consistent: it displays some of the horse more than once, but I think it's because the while loop driving it, doesn't constitute the best way to start the whole thread ?
24.05.2019
1663
views
2
comments
0
romeo
Level 5
Paramaribo
Question about the task
Number of days in the year
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Can anyone help me spot the error? condition 3 not met
I entered 1988 and got days = 365 which is correct.
28.05.2019
1511
views
1
comment
0
AndroidMalaya
Level 4
Shah Alam
Under discussion
Problem when doing activity using mobile phone
When enable desktop version, it will get zoom in and cannot zoom out. When in mobile version, the word will always be replaced repeating to only 1 char .
27.05.2019
980
views
2
comments
0
Manoj Chander
Level 11
Singapore
Question about the task
Vowels and consonants
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Verification Error
The output is correct . But i'm getting verification error . Please help to rectify . Thanks .
28.05.2019
951
views
2
comments
0
satish
Level 15
kadapa
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
what was the mistake
is that increment and decrement operations of for loop correct
27.05.2019
1114
views
3
comments
0
Rusu Adelina
Level 17
Iasi
Question about the task
1 to 10
Java Syntax
,
Level 4
,
Lesson 10
Resolved
help! i need a hint
int a = 1; while (a<10){ System.out.println(a); a++; } System.out.println("Loop finished");
25.03.2019
1358
views
2
comments
1
Naman
Level 2
Thana Bhawan
Question about the task
Bugs and features
Java Syntax
,
Level 0
,
Lesson 8
Resolved
Its not a bug it's a feature
System.out.println("It's not a bug - it's a feature.")
21.04.2019
1389
views
2
comments
0
shabarish kumar
Level 20
Hyderabad
Under discussion
Can anyone help me to find the mistake. Please help me, this is failing at
package com.codegym.task.task06.task0621; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /* Cat relations */ public class Solution { private static int i= 0; private static int j = 0; public static void main(String[] args) thr
25.05.2019
1059
views
1
comment
0
Pioniio
Level 22
Schaffhausen
Resolved
task0905: Why is number of methods 3
Hi task0905 In the blue depths of the stack trace…: My solution works fine. But i don't understand why the number of methods in the stack trace is 3 (variable int deep). We have main method (method 1) which calls getStackTraceDepth method (method 2), hence two methods. Why isn't the answer 2 then? t
27.05.2019
1149
views
2
comments
0
Jacob Warren
Level 8
Tampa
Under discussion
How to run a program in IntelliJ IDEA?
I am trying to test my program using the run command in IntelliJ but it is blurred out. The only way that I have found is going up to run tab on mac and doing a special run since the solution.java is in a different location is this the only way to actually run the program?
25.05.2019
1214
views
1
comment
0
Naman
Level 2
Thana Bhawan
Under discussion
Text should consist of 9 lines
I have created blank lines instead it shows text should consist of nine lines
29.04.2019
1173
views
1
comment
0
Evghenii
Level 13
Chisinau
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Resolved
What yhe problem? Can somebody to explayn me?
I dont see what mistake I do?
27.04.2019
1618
views
8
comments
1
Girish
Level 5
Chicago
Under discussion
How to unlock the lessons
How to unlock the lessons
27.05.2019
1287
views
1
comment
0
Mohamed Nagy
Level 7
Alexandria
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
whats the problem guy please help
the last condition fails why??
17.05.2019
1288
views
3
comments
1
dpp
Level 8
Colombo
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
Runs perfectly but doesn't pass the test
When I run it all the conditions are satisfied but the verification says that the 1-999 thing is not satisfied
26.04.2019
1099
views
2
comments
1
Steven Mcilhone
Level 17
Belfast
Question about the task
HashMap of Objects
Java Syntax
,
Level 8
,
Lesson 3
Resolved
unsure what to do
see code
07.05.2019
1333
views
7
comments
0
Chiritoiu Cristian
Level 4
Bucharest
Question about the task
What's the cat's name?
Java Syntax
,
Level 4
,
Lesson 2
Under discussion
Help the cat get a name using the setName method
I need more tips for doing this task. Some code would be great!
27.01.2019
3149
views
6
comments
0
harshshah
Level 9
Gandhinagar
Question about the task
Deep and pure love
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Dispaly dosen't match\
Didn't able to find the mistake in white space...!
08.04.2019
1251
views
7
comments
0
Jyothi
Level 20
Question about the task
Working with dates
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
verify failing. please advise
Screen output from the program (System.out) 120 false
30.12.2018
1333
views
2
comments
0
WatWat
Level 9
Vancouver
Question about the task
Part of a calculator
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Separate Methods for sum and product not working
I thought I would be able to create to separate methods to calculate a sum and a product. public class Solution { public static void main(String[] args) { int c = 5; int d = 7; sum(c, d); product(c, d); } public sum(a, b){ System.out.print(a + b)
02.10.2018
1289
views
6
comments
0
Show more
1
...
311
312
313
314
315
...
366
Please enable JavaScript to continue using this application.