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
Anjali Sharma
Level 6
Chennai
Question about the task
Minimum of two numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
wrong compiler
what's wrong in this ?
10/3/18
2044
views
5
comments
0
Franek
Level 29
Torun
Question about the task
Space (part 8)
Java Collections
,
Level 3
,
Lesson 15
Under discussion
Help
.
7/6/19
1379
views
1
comment
2
Darko Jakimovski
Level 18
Kriva Palanka
Question about the task
Minimum of two numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
I really don't get what's wrong :
Upon verification it says that "The program should display the minimum of two integers." It couldn't be much simpler package com.codegym.task.task04.task0418; /* Minimum of two numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception {
12/11/18
2383
views
4
comments
1
Ntuthuko Xaba
Level 18
Johannesburg
Question about the task
Factorial
Java Core
,
Level 5
,
Lesson 12
Resolved
I've gone through the help section , and could'nt find any answers.
Will somebody please tell me what is wrong with this code.
4/14/20
1072
views
2
comments
1
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
4/11/20
1152
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.
9/20/19
1298
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.
4/15/20
951
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
4/12/20
1217
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.
8/8/19
1860
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 ??
4/15/20
1097
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
11/10/18
2011
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
6/10/19
1477
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
3/23/20
1258
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
4/16/20
1030
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
9/28/19
1614
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?
4/15/20
1231
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.
11/27/19
1709
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.
12/7/18
1920
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
4/14/20
1180
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
4/13/20
1116
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
4/14/20
1110
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
7/12/19
1819
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
2/26/19
2178
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
4/13/20
789
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;
4/9/20
1457
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?
4/14/20
1108
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
4/11/20
972
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,
4/13/20
1098
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.
4/14/20
1054
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
4/14/20
990
views
5
comments
0
Show more
1
...
212
213
214
215
216
...
374
Please enable JavaScript to continue using this application.