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
All quests
All levels
Any status
Questions about tasks
Hot
Ailana
Level 2
San Carlos
Question about the task
One cat isn't enough
Java Syntax
,
Level 2
,
Lesson 3
Under discussion
PLZ HELP WHATS WRONG
this is my code whats wrong with it public class Solution { public static void main(String[] args) { Cat cat1 = new Cat(); } Cat cat
10.08.2020
543
views
6
comments
0
Bill Wu
Level 29
Wellington
Question about the task
Determining locking order
Java Multithreading
,
Level 7
,
Lesson 6
Resolved
I have no clue on this one
I don't know how to check the synchronized order for another method or the requirement of the task. Any advice will be helpful. Thanks a lot.
07.05.2019
1743
views
13
comments
0
isaacfibo
Level 24
Huntington
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Resolved
I don't know why the test won't pass.....
Please help.....
11.08.2020
492
views
2
comments
0
Nobody
Level 37
Seattle
Question about the task
Determining locking order
Java Multithreading
,
Level 7
,
Lesson 6
Under discussion
I don't know what's going on
I try on my intelij and everything run fine. But i think that maybe something went wrong. atleast first two requirement. It's weird. I mean why it can return true and false on same condition.
05.06.2019
1387
views
2
comments
1
Tata
Level 16
Hisar, Haryana
Question about the task
User, loser, coder and programmer
Java Core
,
Level 4
,
Lesson 8
Under discussion
I don't know what's wrong with my code?? Pls help.
All answers will be appreciated.🥺
11.08.2020
471
views
2
comments
0
- FniJnn -
Level 33
Paris
Question about the task
Determining locking order
Java Multithreading
,
Level 7
,
Lesson 6
Under discussion
Requirements are really dumb
So according to the requirements, the method must return both true and false. When i uncomment one of the return statements and comment the other, i pass or the first, or the second requirement, but not both. That's annoying, my solution is working. Thanks :)
15.02.2020
1183
views
3
comments
0
Catherine
Level 23
London
Question about the task
Pharmacy
Java Core
,
Level 7
,
Lesson 10
Archived
Help me identify my mistake?
Can someone please take a look at the code and help me out? I am failing the: The Person thread should run as long as isStopped is false condition, but my code is set up with the person method running while (! isStopped). It works for a similar condition for the Pharmacy thread, so I don't understan
16.07.2020
886
views
5
comments
0
Arturs Teihmanis
Level 13
Jurmala
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Code works, but still failing in lasts condition.
Hi, looks like code is working fine(input 3,5,7; output 7 5 3), but still I am failing in last condition. I remember that with arrays sorting is much easier(can google it), but wanted to try with IF. Thanks.
11.08.2020
451
views
2
comments
0
Andrei Stratu
Level 18
Iasi
Question about the task
Transactionality
Java Core
,
Level 7
,
Lesson 10
Resolved
Not veryfing
2 conditions don't verify for some reason. Some help, please!
10.08.2020
422
views
2
comments
0
dhanush
Level 30
Chennai
Question about the task
Most frequent bytes
Java Core
,
Level 8
,
Lesson 3
Resolved
help me pls
Not satisfying the third requirement :(
10.08.2020
500
views
3
comments
0
Kritika Kumari
Level 11
Mumbai
Question about the task
Five winners
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Whats wrong in the code.
The code returns the correct output still 4th condition is not satisfied.Please help what is the error in my program?
06.08.2020
458
views
2
comments
2
Diana Salvador
Level 26
Sintra
Question about the task
Threads and bytes
Java Core
,
Level 8
,
Lesson 11
Resolved
3rd and 5th requirement failing
Please help me!!!
07.02.2020
1266
views
6
comments
0
Angela York
Level 14
Question about the task
Cat code won't compile
Java Syntax
,
Level 7
,
Lesson 12
Resolved
can anyone tell me why?
after much trial and error I've got the code to work but i don't understand why if the if statement is if (name == null || name.isEmpty()) the code works, but if it's if (name.isEmpty() || name == null) or if (name.isEmpty()) i get a nullpointerexception error
14.11.2019
1347
views
4
comments
1
Kritika Kumari
Level 11
Mumbai
Question about the task
Task about algorithms
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Displaying correct output but all condition not satisfied.
My program is displaying correct output but still 4th and 5th condition is not satisfied.Please help me to find the error in the program.
08.08.2020
482
views
5
comments
0
Maxb
Level 7
Yonkers
Question about the task
Number of days in the year
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Correct output but does not accept my answer
Why is this not accepting my answer? I have the correct output. 2002 Number of days in the year: 365 Process finished with exit code 0 The program should display text on the screen according to the task conditions. Check why the program doesn't display anything. If the entered year is a leap
10.08.2020
806
views
2
comments
0
Zubin Nair
Level 7
New Delhi
Question about the task
To the top of the list
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
3 requirement ??
What to do in 3 requirement?? Pls help Reply ASAP
26.09.2018
1858
views
17
comments
2
Dinesh
Level 7
Delhi
Question about the task
Number of days in the year
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Working fine with output as well but How can i assign 365 and 366 to a single variable X
As the condition says Number of days in the year: x , where x is 366 for a leap year, and x is 365 for an ordinary year. I think the CORRECT output line of code like this -->System.out.println(Number of days in the year: x). it should NOT be like as I've done on line 18 & 21. Intelli J
31.05.2020
845
views
5
comments
0
Ailana
Level 2
San Carlos
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
PLZ EXPLAIN WHAT'S WRONG HERE
here is me code plz explain what to do I didn't get it public class Solution { public static void main(String[] args) { Man }
10.08.2020
460
views
1
comment
0
Ailana
Level 2
San Carlos
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Whats wrong in my code plz explain
whats wrong in my code public class Solution { public static void main(String[] args) { hackSalary(8000); }
10.08.2020
466
views
4
comments
0
Stephen Haokip
Level 12
imphal
Question about the task
Changing functionality
Java Syntax
,
Level 7
,
Lesson 12
Resolved
this works fine in my laptop
but why not here plis help
10.08.2020
494
views
5
comments
0
Andrew
Level 29
Seattle
Question about the task
Chat (part 19)
Java Multithreading
,
Level 6
,
Lesson 15
Resolved
I'm seeing a "pattern" here.
BotClient class. What am I doing wrong?
28.05.2019
1682
views
3
comments
3
Online Learner
Level 6
Question about the task
Chain letter
Java Syntax
,
Level 4
,
Lesson 13
Resolved
i don't understand this tech
the new advantage is here
05.07.2019
1516
views
2
comments
0
Andrew
Level 29
Seattle
Question about the task
Chat (part 15)
Java Multithreading
,
Level 6
,
Lesson 15
Resolved
Outer class manipulation from Inner class
What am I doing wrong here? protected void notifyConnectionStatusChanged(boolean clientConnected) { Client.this.clientConnected = clientConnected; synchronized (Client.this) { notify(); } }
23.05.2019
1528
views
1
comment
0
Lawson
Level 29
Lagos
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
help
pls what's my error..it prints out correctly
09.08.2020
529
views
6
comments
0
Clark Willms
Level 9
Omaha
Question about the task
Getters and setters for the Dog class
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Void??
How do I return a void value? I don't remember that less.
10.08.2020
585
views
2
comments
0
Mankin Lee
Level 9
Manchester
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
What's wrong?
Can someone please help
10.08.2020
532
views
2
comments
0
Arturs Teihmanis
Level 13
Jurmala
Question about the task
Price of apples
Java Syntax
,
Level 4
,
Lesson 1
Resolved
Output is 150, but still failing.
hi, trying code: this.applePrice = this.applePrice + applePrice; output is 150, but still have 3 errors. Can anybody help? Thanks.
09.08.2020
673
views
2
comments
0
marwan
Level 22
Question about the task
Yet another adapter
Java Core
,
Level 9
,
Lesson 3
Under discussion
What the problem with last one ?
The validation still give me this massage Be sure that the read() method correctly reads the first name, middle name, and last name from the file and stores them in a Person object.
14.05.2020
507
views
2
comments
0
Satya Vath
Level 31
Vijayawada
Question about the task
Chat (part 2)
Java Multithreading
,
Level 6
,
Lesson 15
Under discussion
help
please
10.09.2019
1669
views
6
comments
0
Catherine
Level 23
London
Question about the task
Adapting multiple interfaces
Java Core
,
Level 9
,
Lesson 3
Under discussion
Okay, I need some insight.
This is the second task I have gotten hung up on the same thing. My code keeps failing to run because of the private IncomeData incomeData; line. This is a direct requirement of the task, but whenever I try to run the code, the system comes back saying it is unable to do so because it cannot find In
22.07.2020
538
views
2
comments
0
Show more
1
...
151
152
153
154
155
...
371
Please enable JavaScript to continue using this application.