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
hidden #10604255
Level 4
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
help a brother out pls!
please help.. its giving me a tough problem. it keeps saying error. I want to know y pls..
4/7/20
1335
views
5
comments
0
Bazsó Benjámin
Level 20
Szombathely
Question about the task
Writing to a file from the console
Java Core
,
Level 3
,
Lesson 11
Resolved
5th condition?
i also tried writer.write("\n" + s);
4/15/19
1598
views
1
comment
1
Agata
Level 20
Warsaw
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Resolved
I can't find the problem
I get NumberFormatException: For input string: "String1" but I can't find out why, please help me :)
4/27/20
1461
views
22
comments
0
harshshah
Level 9
Gandhinagar
Question about the task
Number of days in the year
Java Syntax
,
Level 4
,
Lesson 4
Resolved
logical error.
for n=3300 is not a leap year but it is showing leapyear.
4/17/19
1958
views
2
comments
0
Bryce Lindley
Level 9
Olympia
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Am I close?
I took a guess as to using indexOf for the ArrayList. Created Strings shortest and longest. It seems like it should be working but was unsure why I only have one unresolved. Thanks for looking.
4/30/20
959
views
3
comments
0
LucGar
Level 22
Bilbao
Question about the task
Countdown at the races
Java Core
,
Level 6
,
Lesson 10
Resolved
I solved it, but i have a
try { while (!current.interrupted() && numSeconds > 0) { Thread.sleep(1000); System.out.println(numSeconds--); a++; } } catch (InterruptedException e) { if (a == 3) { S
4/18/20
1029
views
1
comment
0
Dinesh
Level 7
Delhi
Question about the task
Hello, StarCraft!
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
What is Wrong With This Code
*/ public class Solution { public static void main(String[] args) {
4/25/20
1225
views
4
comments
0
Alvin B
Level 8
Newark
Question about the task
Calling a constructor from a constructor
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
I don't understand what I am doing wrong
Please offer suggestions to guide me to a solution. I don't know what I am doing wrong. Thank you in advance.
4/30/20
1128
views
1
comment
0
romeo
Level 5
Paramaribo
Question about the task
Mercantile intentions
Java Syntax
,
Level 3
,
Lesson 12
Resolved
Why can i not get it to print the line 10x? It only prints line once...
public class Solution { public static void main(String[] args) { //write your code here String s = print(); System.out.println(s); } public static String print() { String text = ("I want a big salary, and that's why I'm studying Java"); for (int i
5/26/19
2122
views
6
comments
0
Tony Roy
Level 41
Victorville
Question about the task
Archiver (part 4)
Java Multithreading
,
Level 7
,
Lesson 15
Resolved
compiler error??
This compiles for me, but will not compile on the server
4/28/20
1045
views
1
comment
0
Rajesh R
Level 7
Toronto
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
3 Requirements not met
The task fails for not meeting the following requirements, any help is appreciated 1. The program should display the number of positive numbers in the original set. 2. If there are no positive numbers, the program should display "Number of positive numbers: 0". 3. Note that 0 is not a positive or n
4/26/20
1029
views
2
comments
0
Dave Andrea
Level 41
Question about the task
Horse racing
Java Core
,
Level 6
,
Lesson 5
Archived
Cannot figure out what the program wants
My code runs fine and as far as I can tell it is doing what the requirements ask for. However, the following requirements are contradictory: 2.3. Not treat such a horse as finished. "After the program is finished, the console must indicate that all the horses have finished. Example output for the fi
3/28/20
1207
views
2
comments
1
Jason Ahn
Level 4
Ottawa
Question about the task
Maximum of four numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
Need help please
Having trouble locating what exactly is wrong with my code. Help would be appreciated. Thanks.
1/22/19
1849
views
8
comments
0
jake taylor
Level 17
Lisbon
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
last requirement
whyyyyyy!
4/29/20
944
views
2
comments
0
Leonard Basag
Level 7
Iasi
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Why is not working?
I verified everything but it gives an error on the last task. Can you see the problem?
4/29/20
918
views
2
comments
0
Okabe Rintarou
Level 4
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 4
Archived
what is wrong with my code????????
I can't get pass this level. someone please need help
12/1/18
1493
views
3
comments
0
Alvin B
Level 8
Newark
Question about the task
Do we have a pair?
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Code Gyms flags the criterion of displaying all three numbers if equal. What am I doing wrong?
Code Gyms flags the criterion of displaying all three numbers if equal. What am I doing wrong?
4/29/20
1109
views
2
comments
0
asif nawaz
Level 8
Mumbai
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
not able to complete the task
pls help me with the solution.
4/21/20
1058
views
4
comments
0
Anton
Level 26
Oslo
Question about the task
Number of letters
Java Syntax
,
Level 10
,
Lesson 11
Resolved
Correct output but not validating.
What is the problem here?
4/29/20
992
views
5
comments
0
Henrique
Level 41
São Paulo
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Resolved
Solution works, but something doesn't work when verifying
Hey, there. When I run this program, everything seems to work and I obtain the correct result. But when I try to verify, it says that the 2nd and 3rd requirements are not fulfilled. "Be sure that the number of even digits is stored in the variable even." and "Be sure that the number odd digits i
4/28/20
1107
views
3
comments
0
Henry Yao
Level 22
Pasadena
Question about the task
Ironing
Java Core
,
Level 7
,
Lesson 10
Under discussion
The synchronized block must use a class-level lock.
I can not pass the last requirement and when adding line 54 code it fails please help Thanks
4/29/20
859
views
2
comments
0
ShirAz SiddiQui
Level 8
Karachi
Question about the task
Maximum in an array
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
Can anyone tell me the what mistake i make?
The output is perfect but i'm not able to pass the 3rd condition which is the max() method
9/22/19
1335
views
3
comments
0
Andreas Dengler
Level 16
Bielefeld
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Resolved
I dont know what is wrong
i cant pass the 4 Requierment what do I miss?
4/23/20
1154
views
5
comments
0
Barry Wolmarans
Level 8
Johannesburg
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
Works - but not passing read 5 strings
Not sure the issue, i have confirmed 5 strings are being read commented section, but i still don't pass the requirement - everything else passes
4/23/20
1191
views
2
comments
0
Павел Артеменко
Level 41
Krasnodar
Question about the task
Recursion for mathematical expressions
Java Collections
,
Level 4
,
Lesson 2
Under discussion
Bugged?
Or am I missed something?
6/10/19
1959
views
2
comments
1
hidden #10602322
Level 3
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
whatis it really is mean
Error = The min method must return the minimum of the numbers a, b, and c.
4/24/20
1142
views
2
comments
0
Sidd
Level 7
Maple Valley
Question about the task
Come on, lucky seven!
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Plz help
How does this not work????
4/28/20
1167
views
4
comments
0
Sidd
Level 7
Maple Valley
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Plz help
How on earth is this wrong
4/28/20
1037
views
2
comments
0
Petyo Spasov
Level 11
Asenovgrad
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
I can't understend what is wrong.
I can't understend what is wrong.
4/28/20
1319
views
1
comment
0
Bryce Lindley
Level 9
Olympia
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Missing something
all the lists are printed from printmethod on a new line. Seems like I did it correctly but I must be missing something in the code? Thanks for looking!
4/28/20
1007
views
3
comments
0
Show more
1
...
204
205
206
207
208
...
374
Please enable JavaScript to continue using this application.