Promotion
CodeGym University
Learning
Courses
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
Java 25
All quests
All levels
Any status
Questions about tasks
Hot
John
Level 27
Washington DC
Question about the task
Introducing tags
Java Core
,
Level 9
,
Lesson 11
Under discussion
Infinite loop
I'm getting a response that there is an infinite loop, but I have run this in Eclipse with no issues. So I think there is an issue with this problem, not the code.
2/14/20
1214
views
1
comment
0
Charlie Branson
Level 12
Wytheville
Question about the task
Maximum in an array
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
i get the right answer....but it still doesnt validate.
can someone find whats wrong here?
2/3/20
1064
views
2
comments
0
hidden #10447638
Level 22
Question about the task
Advanced file search
Java Collections
,
Level 1
,
Lesson 2
Under discussion
Need some help to finish this task
Anyone wanna help me get the last condition met? I don't understand what needs to be done
10/29/19
1876
views
7
comments
0
hidden #10362262
Level 9
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
I keep getting NullPointerException. Where am I going wrong on this one? Also, it will not confirm the final condition. Thank you!
package com.codegym.task.task08.task0816; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.Locale; import java.util.*; /* TITLE OF EXERCISE: Kind Emma and the summer holidays INSTRUCT
2/14/20
1149
views
6
comments
0
Liliane Top
Level 17
Amsterdam
Question about the task
Time for 10,000 get calls
Java Syntax
,
Level 8
,
Lesson 6
Resolved
Why is the size divided in 2?
In this excercise I encountered the following: public static void get10000(List list) { if (list.isEmpty()) return; int x = list.size() / 2;//. =====> why is de list.size divided by two? for (int i = 0; i < 10000; i++) { list.get(x); =====> why not lis
2/14/20
1071
views
2
comments
0
Diana Salvador
Level 26
Sintra
Question about the task
Reading and writing to a file: CodeGym
Java Core
,
Level 10
,
Lesson 2
Resolved
Please help!
"Check why an exception occurs in the save/load methods"
2/13/20
1219
views
0
comments
0
HaeWon Chung
Level 17
Boston
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Resolved
I'm not sure what's wrong with my code
Please help me
2/14/20
1399
views
1
comment
0
Liliane Top
Level 17
Amsterdam
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Really struggling
I have no idea why this is not working?
2/13/20
1198
views
9
comments
0
Liliane Top
Level 17
Amsterdam
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Still struggling
I do get the right output after more than 4 hours of trying all sorts but unfortunately it doesn't pass the test.
2/13/20
1192
views
7
comments
0
Anita Pal
Level 14
Question about the task
The end
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Why it is not verifying while I am getting correct output
package com.codegym.task.task07.task0722; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; /* The end */ public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader
9/27/19
1447
views
2
comments
0
Yash
Level 15
Sugar Hill
Question about the task
OOP: Fix inheritance problems
Java Core
,
Level 5
,
Lesson 2
Resolved
idk lol
idk lol
11/23/19
1367
views
4
comments
0
Mordecai
Level 2
Accra
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Level 2 lessons 1 and 2
Please I’m confused about how to solve the assignments of lesson 1 and 2 under level 2. I need clear examples.
2/13/20
1099
views
1
comment
0
Luca Hofmann
Level 19
Hamburg
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
Display text
Disregarding the fact that it wont verify although the output matches the condition, somehow i apparently do not display text? what is wrong here. I am certainly printing.
2/13/20
1116
views
1
comment
0
hidden #10566897
Level 6
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
I try to figure out but no success ! :(
I don't know how to solve the last problem '' The min method must return the minimum of the numbers a, b, and c." So if you can help me it would be great!
2/5/20
1254
views
7
comments
0
Michael Brimage
Level 19
Washington D.C.
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Resolved
What am I doing Wrong?
I know that my solution isnt the most elegant; I've tried a number of ways that failed to verify. So now I've decided to take a longer route. I am sure what's wrong please help. The last requirement fails where all others pass.
2/13/20
1374
views
2
comments
0
Luca Hofmann
Level 19
Hamburg
Question about the task
Streets and houses
Java Syntax
,
Level 7
,
Lesson 4
Archived
The usual wont work, why?
Yet another Task that supposedly is false / lacking while actual testing reveals it works just fine.
2/13/20
971
views
3
comments
0
Luca Hofmann
Level 19
Hamburg
Question about the task
Minimum of N numbers
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Works fine in IntelliJ, yet it wont compile and fails in CG
I do not know for what reason this wont qualify as an answer. When i check to code in Intelli J, enter e few numbers, the minimum is printed after hitting Enter on an empty field, yet here i not only get a NullPointerException but also it wont validate. Any thoughts ?
2/13/20
1568
views
2
comments
0
Scott Böning
Level 14
Dublin
Question about the task
Triangle of eights
Java Syntax
,
Level 4
,
Lesson 13
Resolved
Keep getting error message: "The height of the triangle is not 10 lines.". But it is...
I have run the code in IntelliJ and Eclipse. In both cases the screen output shows a right triangle of eights with 10 lines, but the task keeps failing. What can I do?
2/12/20
1150
views
4
comments
0
Ivan
Level 22
Nope
Question about the task
CRUD
Java Core
,
Level 7
,
Lesson 10
Resolved
What am I missing?
I would appreciate the help here on what I am missing to pass the conditions.
2/12/20
1410
views
8
comments
0
Liliane Top
Level 17
Amsterdam
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Please explain in more detail
The exercises in lesson 6 from level 7 are too hard for me. I need more explanation before I am able to do these. Can someone refer me to an article or another tutorial that will explain the use of ArrayLists in more detail as I'm already struggling with these for more than 1 day. I am on a very ti
2/13/20
1268
views
2
comments
0
Liliane Top
Level 17
Amsterdam
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Resolved
tried many things
Cab someone help me explain why this is not working at all?
2/13/20
1328
views
2
comments
0
- FniJnn -
Level 33
Paris
Question about the task
Distributing items into baskets with their own lock
Java Multithreading
,
Level 6
,
Lesson 8
Resolved
I don't get it
Need help ty :)
2/11/20
1458
views
3
comments
0
Thomas Sixberry
Level 16
Rochester Hills
Question about the task
Computer
Java Core
,
Level 4
,
Lesson 8
Resolved
The getName method in the Mouse class should return "Mouse".
As many hour(s) I've spent on this I simply do not understand why this is unable to reproduce 'Mouse' or any other name for that matter. Brain is racked and I'm stuck. Any help would be appreciated. if (isWork(computer.getKeyboard()) && isWork(computer.getMonitor()) &&a
2/12/20
1317
views
3
comments
0
Luca Hofmann
Level 19
Hamburg
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Why wont my break statement work ?
For some reason the for loop wont stop once the if condition is fulfilled. How do i resolve this?
2/8/20
1170
views
2
comments
0
marwan
Level 22
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Resolved
What the problem ?
I read other help questions but still the problem.
12/27/19
1701
views
4
comments
0
Sindhura
Level 15
Delhi
Question about the task
Corrections are needed
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
not verifying through everything is correct
package com.codegym.task.task10.task1018; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; import java.util.Map; /* Corrections are needed */ public class Solution { HashMap map; static Integer index; static Strin
10/10/18
2485
views
8
comments
2
Arun
Level 17
Tirupati
Question about the task
Implement the fight method
Java Syntax
,
Level 5
,
Lesson 5
Resolved
I don't understand this topic.
Can anybody reply the solution code for this plss....or tell me what is the wrong in my code
2/9/20
1640
views
3
comments
0
Fabian Andiel
Level 9
Vienna
Question about the task
Vowels and consonants
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Extra space in the second line
Guys, do you have any idea how I evade the extra space in the second line? greetings, Fabian
2/12/20
916
views
1
comment
0
Sanjay Chauhan
Level 28
Delhi
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Unable to process the last requirement.
Dear CodeGym Members, Good Morning. I am unable to complete this task and need your help for the same. The last requirement say "The removeAllSummerPeople() method should remove from the map all people born in the summer.". This is the logic which I created however it's not working. public st
2/11/20
1161
views
3
comments
0
Justin Johnson
Level 31
Clearwater
Question about the task
Two in one
Java Core
,
Level 8
,
Lesson 11
Resolved
help please
I don't understand what is wrong
2/9/20
1436
views
4
comments
0
Show more
1
...
233
234
235
236
237
...
374
Please enable JavaScript to continue using this application.