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
Aleksander
Level 6
Slupsk
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
please help supercoders
Note that 0 is not a positive or negative number. Does anyone have any ideas?
17.04.2020
934
views
2
comments
0
Rismitha Ismail
Level 2
Mumbai
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Resolved
This is my code. what is wrong with this??
public static void main(String[] args) {
23.03.2020
1196
views
4
comments
0
Eelke 't Hooft
Level 27
Amsterdam
Question about the task
Minesweeper (Part 14/16)
Games
,
Level 0
,
Lesson 0
Resolved
Not Validating, not sure why
I think i implemented the score correctly, a won game always ends up around 370~390 (405-5per mine). i have tried to put setScore(score+=5) but it didnt like that either. i have also tried to call setScore(score) at the end of openTile(); didnt count that; I am kind of out of ideas, does anyone ha
19.03.2020
988
views
1
comment
0
jake taylor
Level 17
Lisbon
Question about the task
Seasons on Terra
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
can anyone help??
seems i cannot complete the last task
16.04.2020
840
views
1
comment
0
Paula Jones-Spangenberg
Level 6
North Chesterfield
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
Fails the 3rd and 5th condition
Ugh asking for help is becoming WAY to regular of a thing.... **sigh**
16.04.2020
672
views
1
comment
0
Wei Cui
Level 39
Newark
Question about the task
Build a tree (part 5)
Java Collections
,
Level 1
,
Lesson 15
Resolved
Output is correct, cant meet 1st and 2nd request
I don't understand what first two requirement meaning here, could anyone help me to understand, since those two did not mention in the condition
16.04.2020
913
views
1
comment
0
MLA
Level 16
Philadelphia
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Running into IndexOutOf Bounds Error, can anyone spot it?
The error: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.rangeCheck(ArrayList.java:657) at java.util.ArrayList.get(ArrayList.java:433) at com.codegym.task.task07.task0728.Solution.sort(Solution.java:41) at com.codegym.task.task07.task0728.Solution.main(Solution.j
16.04.2020
925
views
1
comment
0
Prahlad Singh
Level 6
Mumbai
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
help
help me
15.09.2018
3005
views
5
comments
0
Paula Jones-Spangenberg
Level 6
North Chesterfield
Question about the task
Do we have a pair?
Java Syntax
,
Level 4
,
Lesson 4
Resolved
At wits end trying to get all three to display if all three equal
Got it to pass everything except the guidelines where if three equal numbers were presented, they all had to be displayed.
12.04.2020
874
views
3
comments
0
Arvind Prakhar
Level 7
Dhanbad
Question about the task
Constructor
Java Syntax
,
Level 5
,
Lesson 9
Resolved
Help!!!!
I have tried a lot .....plzzz help ,i m not able to debug.
09.11.2018
2770
views
10
comments
1
Benas Ribačenka
Level 4
Joniskis
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Resolved
why i can't use return in there?
if I don't include return its working fine , but my question is why i can't use return ? it is because return is used to return just a value of varriable and , cant't return System.out.println . or its something else?
15.04.2020
796
views
1
comment
0
Prateek Parmar
Level 4
Chennai
Question about the task
Maximum of four numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
How is this not able to pass all the cases?
I even entered the numbers and checked if there are several maximum numbers but it's still not able to pass
05.09.2018
2157
views
6
comments
0
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 ?
03.10.2018
1905
views
5
comments
0
Franek
Level 29
Torun
Question about the task
Space (part 8)
Java Collections
,
Level 3
,
Lesson 15
Under discussion
Help
.
06.07.2019
1228
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 {
11.12.2018
2202
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.
14.04.2020
939
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
11.04.2020
988
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
1157
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
825
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
1085
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
1697
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
961
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
1896
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
1293
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
1108
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
905
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
1440
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
1092
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
1527
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
1768
views
3
comments
1
Show more
1
...
209
210
211
212
213
...
372
Please enable JavaScript to continue using this application.