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
yz
Level 37
Jakarta
Question about the task
Factories (part 1)
Java Collections
,
Level 5
,
Lesson 15
Resolved
wtf is it bug????
after trying to solve so difficult one am i going crazy or it is a bug
11.04.2020
1002
views
3
comments
0
Michał Kwaśny
Level 22
Krakow
Question about the task
Adapting multiple interfaces
Java Core
,
Level 9
,
Lesson 3
Under discussion
Correct output format but still it is verifying as an incorrect number.
Probably veryfication is looking for some function to be used not correct result.
20.09.2019
1169
views
2
comments
0
Kamil
Level 31
Near Warsaw
Question about the task
What is ClassLoader?
Java Collections
,
Level 5
,
Lesson 10
Under discussion
Exception NoClassDefFoundError
I get java.lang.NoClassDefFoundError: com/codegym/task/task35/task3507/data/Cat (wrong name: Cat) expection when I try to run it, no idea what's wrong. I looked at directory, everything seems fine.
15.04.2020
841
views
2
comments
2
Harrison Tran
Level 14
Anaheim
Question about the task
Greater than 10? You're not a good fit for us
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
createSet() not pass because I used Math.random() to generate 20 random number
I tested the code, it showed correct output but when verified, it does not pass the createSet() method condition. I suspect it because Math.random() generate some same number in the list of 20 number like: 10 20 23 46 34 10....89. Here I can have 2 number "10", not satify, 20 different numbers Anyo
12.04.2020
1095
views
3
comments
0
lonelygleaner
Level 1
New York
Question about the task
ApplicationContext
Java Core
,
Level 7
,
Lesson 10
Under discussion
How does getByName() modify shared resources?
I do not understand why we need to put synchronized before getByName() since it is just reading from the map instead of modifying it.
08.08.2019
1714
views
3
comments
2
Ashutosh Deshpande
Level 5
Nagpur
Question about the task
Maximum of four numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
What's Wrong here ?
The Task requirement is to display the maximum number. Other task conditions are satisfied, just the third one is not...why? What's wrong in the code...can anyone explain ??
15.04.2020
970
views
2
comments
0
M suleman
Level 20
Lahore
Question about the task
Shared list
Java Core
,
Level 7
,
Lesson 10
Resolved
plz help.i can't understand this question
package com.codegym.task.task17.task1713; import java.util.*; /* Shared list */ public class Solution implements List<Long>{ private ArrayList<Long> original = new ArrayList<>(); public static void main(String[] args) { } public synchronized ArrayList<Lon
10.11.2018
1904
views
4
comments
0
Cinthya Cabanzo
Level 22
Bogota
Question about the task
Building and School
Java Core
,
Level 4
,
Lesson 4
Resolved
why the test didn't achieve the verification
I don't understand why If I return a new School, and the program runs, why the test didn't achieve the verification
10.06.2019
1317
views
3
comments
0
Jonas
Level 41
Vilnius
Question about the task
Adding logging to a class
Java Collections
,
Level 4
,
Lesson 10
Resolved
Can you explain what am I doing wrong?
I don't get this task, please help
23.03.2020
1118
views
5
comments
0
padam singh
Level 2
San Bernardino, ca
Under discussion
Insufficient dark matters
when starting on level2 lesson 9/11 I got Message :----- Insufficient Dark Matters Anybody can help ? help help help help, unable to proceed
16.04.2020
921
views
1
comment
0
Jason
Level 26
Rancho Cucamonga
Question about the task
Time in the garden
Java Core
,
Level 7
,
Lesson 4
Resolved
How does this make any sense...
Literally everything is public and everything should be right and everything is synced. CodeGym drives up the effing wall sometimes. It is such shit at explaining anything clearly especially the requirements for their tasks. I always feel like I am being asked to do things by a two year old that doe
28.09.2019
1463
views
5
comments
0
Jeremi Nuer
Level 7
San Francisco
Question about the task
Dividing is good
Java Syntax
,
Level 3
,
Lesson 1
Resolved
Please help I'm confused
I've looked at other people's problems and solutions, and most of them say to print a/b once and it will work, but it doesn't for me. What am I doing wrong?
15.04.2020
1101
views
1
comment
0
Philip Butler
Level 32
United Kingdom
Question about the task
AmigoSet (part 4)
Java Collections
,
Level 4
,
Lesson 15
Resolved
Stuck on requirement #2
Help please. I'm stuck with implementing the clone() method. I can get either the clone or the exception requirements to verify, but not both. I was unsure whether I needed to use super.clone(). Thanks in advance.
27.11.2019
1559
views
8
comments
1
Benjamin Winchester
Level 17
Savannah
Question about the task
File in a static block
Java Core
,
Level 5
,
Lesson 12
Resolved
Completely lost
This runs with the proper output in IntelliJ but fails to compile when I submit. Failure to compile is because the Statics class is not found. Everything I find online says to import the class explicitly, but it doesn't work.
07.12.2018
1783
views
3
comments
1
Wei Cui
Level 39
Newark
Question about the task
Space (part 13)
Java Collections
,
Level 3
,
Lesson 15
Resolved
how to fix it
14.04.2020
1029
views
1
comment
0
IO.Error
Level 24
Bremen
Question about the task
Introducing tags
Java Core
,
Level 9
,
Lesson 11
Under discussion
Does anyone has an idea why it doesn't verify ?
I am not sure whats wrong with the code - it seems to do what it should 1. I guess I have to use a loop for the FileReader for some reason (will try that) It seems to return the tags for the example and template as required (guess not) Does anyone have and idea whats wrong with it ? Did I get th
13.04.2020
956
views
3
comments
0
hidden #10607810
Level 5
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
pls I need help fast
my code is working very fine and its giving me the correct out put in descending order, but some how its still not getting verified! pls some one should check my code and advice me on what to do pls.. xD
14.04.2020
929
views
5
comments
0
Tangerin
Level 27
Chongqing
Question about the task
Reinforce the singleton pattern
Java Core
,
Level 5
,
Lesson 12
Resolved
Cannot fulfill requirements but works just fine...?
Validation in IDEA shows me that But I double-checked the method and feel sure that it works as required
12.07.2019
1694
views
2
comments
1
Hashirama
Level 26
Port-Harcourt
Question about the task
Yet another adapter
Java Core
,
Level 9
,
Lesson 3
Resolved
Hi guys
The problem here seems to be with the first, last and middles names. Please sort this out with me. Thanks. You can just go straight to the solution class
26.02.2019
2067
views
5
comments
5
DeltaPilot12
Level 24
Berlin
Resolved
Best way to declare Lists
Hey guys, I understood how to declare Lists and use them, but I am curious what´s the best way to declare them? I have seen many different examples and wonder if there are big differences between them and if so, what advantages each declaration has and when to use which? Have a look: I was not abl
13.04.2020
670
views
2
comments
0
Hendra
Level 8
Medan
Question about the task
Changing functionality
Java Syntax
,
Level 7
,
Lesson 12
Resolved
what's wrong?the code result always null point exception...help please
package com.codegym.task.task07.task0727;
09.04.2020
1289
views
3
comments
0
Satya Vath
Level 31
Vijayawada
Question about the task
HTML Editor (part 21)
Java Multithreading
,
Level 8
,
Lesson 15
Resolved
Is this Bugged
I have no idea where I got it wrong?
14.04.2020
987
views
2
comments
0
jorge ives murillo paredes
Level 40
New York City
Question about the task
Chat (part 11)
Java Multithreading
,
Level 6
,
Lesson 15
Resolved
I dont know what is wrong
my code is timing out,i don't know why
11.04.2020
859
views
2
comments
0
Kobi Shasha
Level 11
Nahariyya
Question about the task
Racer (Part 13/28)
Games
,
Level 0
,
Lesson 5
Resolved
RoadManager class's move(int) method, call the move method on each object in the items list. Pass the sum of boost and the object's speed as the argument.
Hi, What's wrong with lines 48-49 in RoadManager Class? I'm doing as in the instructions, passing the sum of the boost + object's speed. Thanks,
13.04.2020
956
views
1
comment
0
Nakul Sehgal
Level 9
New Delhi
Question about the task
Maximum in an array
Java Syntax
,
Level 7
,
Lesson 4
Resolved
Max method not working
Error: Be sure that the max method works correctly with negative numbers.
14.04.2020
939
views
1
comment
0
Agata
Level 20
Warsaw
Question about the task
Month number
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Can anyone help me find a mistake?
Maybe its' a typo... I don't know
14.04.2020
867
views
5
comments
0
Anton null
Level 4
Yakutsk
Question about the task
Do we have a pair?
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
I need help
I write code but solution not work.
12.04.2020
968
views
4
comments
0
Daniel L. Tovar
Level 9
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
I'm not meeting the 4th and 5th condition
I don't want anyone to tell me the answer to this task its' just that I'd like someone to explain to me what's the problem with my code and why it wouldn't display "yellow" or "red".
07.04.2020
1086
views
5
comments
0
Presido
Level 4
Question about the task
Sum of the digits of a three-digit number
Java Syntax
,
Level 3
,
Lesson 12
Resolved
Why does it seem like i am needing to use concepts here that we have yet to be taught?
It seems like in order to solve this problem, I may have to use arrays or possibly assign individual chars based on the input number and etc....but we haven't been taught any of this yet so why would this task be relevant right now?? Very frustrating. Yes i could look at others examples and go off o
22.01.2020
1635
views
4
comments
3
Eduardo
Level 23
Coyoacan
Question about the task
Janitorial services
Java Core
,
Level 4
,
Lesson 8
Resolved
STATIC vs NON STATIC
Help please, I ran this but it tells me the one two and three apts must NOT be static, but then i get a compiler error for trying to run static on a non-static. Any advice?
11.04.2019
1966
views
5
comments
0
Show more
1
...
210
211
212
213
214
...
372
Please enable JavaScript to continue using this application.