Promotion
CodeGym University
Learning
Course
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
satish
Level 15
kadapa
Question about the task
Minesweeper (Part 5/16)
Games
,
Level 0
,
Lesson 0
Under discussion
can any one explain 2nd and 4th requirements
how to assign mines and how to count them
12.07.2019
1326
views
3
comments
0
Шарох
Level 10
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Hi Coders !
Please help me !
10.12.2020
477
views
4
comments
1
sourav bamotra
Level 20
jammu
Question about the task
Promotion during political debates
Java Core
,
Level 6
,
Lesson 5
Under discussion
something new just appeared.
"volatile" keyword.
25.09.2020
426
views
1
comment
0
Anitamalina
Level 18
København
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
Won't accept last requirement even though I print the right result
I get the right results, but I don't understand, why I don't fulfil the last requirement ? Can someone help me or explain? :)
11.12.2020
263
views
2
comments
0
Andrei
Level 41
Question about the task
Different methods for different types
Java Core
,
Level 5
,
Lesson 12
Resolved
Last requirement not met, have no idea why. Help please .
Hi, I have spent about 4 hours on this program so far but it's starting to kill me. If I add input " This is a String. Value: -555000000000000000000000000000000000000000000000000000000000000000000000000000000 " in the program, nothing happens. If I add just the number: -5550000000000000000000000000
08.12.2020
570
views
16
comments
0
Andrei
Level 41
Question about the task
Displaying a stack trace
Java Core
,
Level 6
,
Lesson 3
Resolved
What is the order of execution for the for loops in each class?
In my opinion this is the logic of execution for the 2 threads (main and SpecialThread): 1. main is run 2. a new thread "thread" is created. 3. thread is assigned a new SpecialThread object. 4. the new thread is started. 5. the **** line is printed. Now the confusion begins for me. In my opinion an
11.12.2020
451
views
7
comments
0
The Chief
Level 18
Question about the task
Changing functionality
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
How to get the right output?
When I compile my program, I'm not getting any errors but the output is just a bunch of red text. What do I have to change to get the middle 3 validation requirements?
09.12.2020
514
views
10
comments
0
Andrei
Level 41
Question about the task
My first thread
Java Core
,
Level 6
,
Lesson 3
Resolved
Why do we have to use new Thread(task).start(); instead of just task.start() ?
public class Solution { public static class TestThread implements Runnable{ public void run(){ System.out.println("My first thread"); } } public static void main(String[] args) { TestThread task = new TestThread(); new Thread(task).start();
11.12.2020
297
views
2
comments
0
Denis
Level 22
Kharkiv
Question about the task
My second thread
Java Core
,
Level 6
,
Lesson 3
Under discussion
what i can do this
help me pls
27.06.2019
1217
views
4
comments
0
Andrei
Level 41
Question about the task
Request parser
Java Core
,
Level 5
,
Lesson 12
Resolved
What does codegym want from me???? waaaaaa :((( the output is like in the examples provided yet it is not good. What the hell? Pls help :(((
I have created the isDouble class which is from the previous FromHell exercise "Different methods for different types" which checks if a number has "." in it meaning it is a double. This class's method is used in line 75. What have I done wrong?
09.12.2020
574
views
10
comments
0
Anitamalina
Level 18
København
Question about the task
Changing functionality
Java Syntax
,
Level 7
,
Lesson 12
Resolved
NullPointerException
When I run my code in VS code it works, but at codeJudge I get a NullPointerException? Does anyone know why and how to solve it?
09.12.2020
389
views
4
comments
0
Agata
Level 20
Warsaw
Question about the task
CRUD 2
Java Core
,
Level 7
,
Lesson 10
Resolved
I don't know what is wrong, help me please :)
-c: Be sure that the ids of the added people are displayed on the screen. -u: Be sure that the size of the allPeople list does not change when people's data is updated. -i: Be sure that the person's birth date (format: Apr 15 1990) is displayed.
09.12.2020
326
views
2
comments
0
Marius Moldovan
Level 8
WGC
Question about the task
Expressing ourselves more concisely
Java Syntax
,
Level 7
,
Lesson 6
Archived
Question about the requirements
Hello codegym colleagues! I tried to run the code with List stringX = new ArrayList(); but it kept on failing. Once I have changed the line to an ArrayList - ArrayList stringX = new ArrayList(); it passed. Shouldn't the requirement be to create an ArrayList rather than a list? This was confusing as
09.12.2020
310
views
2
comments
0
Deepak Chandra
Level 16
Visakhapatnam
Question about the task
Identical words in a list
Java Syntax
,
Level 10
,
Lesson 11
Resolved
Any body help please
The problem is with first name it doesnt count. By the way there are only 10 inputs because i am testing the code with 10 inputs first because if it works with 10 entries then it should work with 20 entries too as per conditions. Deepak Dheeraj Deepak Deepak Deepak Tim Jim Tim Jack Jim Dheeraj 1 Ti
23.06.2019
1199
views
2
comments
0
Madi
Level 6
Nice
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Resolved
I dunno what's wrong! plz help!
08.12.2020
464
views
4
comments
0
Jurij Thmsn
Level 29
Flensburg
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Calculating the algorythm
I solved this task just because I found the needed divisor in the questions. I understand the code itself but not the calculation of the algorithm at all. Now I really feel like I am lacking the mathematical skills to be a programmer in the future ... Do you have a good tip on how to learn solvin
08.12.2020
651
views
2
comments
0
Kasia
Level 22
Zabrze
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Resolved
The output seems fine but it doesn't verify
Hello, as in the topic - the program seems to work but the verifier doesn't want to let it go :( It is probably a small mistake that I can't (yet) see ^^" any help appreciate ;3
09.12.2020
422
views
2
comments
0
Шарох
Level 10
Question about the task
Expressing ourselves more concisely
Java Syntax
,
Level 7
,
Lesson 6
Archived
Hi Coders!
What's my wrong? 😣
04.12.2020
373
views
6
comments
0
Ismail ALi
Level 8
Fort Worth
Question about the task
Static cats
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
help
package com.codegym.task.task06.task0614; import java.util.ArrayList; /* If you read this then you must be retarded and gay and no one likes you, but if you s subscribe to IsmailEdits on youtube then you are awesome. */ public class Cat { public static ArrayList cats = new ArrayList<>
21.11.2020
388
views
2
comments
2
Jay
Level 17
Washington
Question about the task
Human class constructors
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
Explanation of why it wouldn't compile this way
As one of my constructors, I used the following: public Human (int weight) { this.weight = weight; } I received the message below. I changed the parameters of the constructor to something else and it compiled and verified. What was it trying to tell me in the error message? I don't know why
05.08.2019
1149
views
2
comments
0
Niladri pradhan
Level 33
Mumbai
Question about the task
Arrange wait and notify methods
Java Multithreading
,
Level 7
,
Lesson 9
Under discussion
whats wrong
Output is same in intellij idea
03.12.2019
1297
views
4
comments
0
hidden #10610717
Level 23
Question about the task
Cat and Dog objects: 50,000 each
Java Syntax
,
Level 6
,
Lesson 5
Resolved
Assistance with last requirement
Can't figure out what I'm missing in order to satisfy the last requirement. Can someone assist?
20.08.2020
475
views
4
comments
0
Josephine
Level 26
Normal
Question about the task
Racer (Part 8/28)
Games
,
Level 0
,
Lesson 5
Under discussion
The third condition not passing
The players field is intialized as 1 and called the roadMarking object.on move ()What is wrong? speed is passed in the move(1).
07.12.2020
286
views
2
comments
0
Dmitri
Level 22
Seversk
Question about the task
Singleton
Java Core
,
Level 4
,
Lesson 8
Resolved
I actually tried several variants but can not pass.
like this for example: public class Singleton { private static final Singleton sing = new Singleton; private Singleton(){} public static Singleton getInstance(){ return sing; } }
08.12.2020
494
views
5
comments
0
Stephen Haokip
Level 12
imphal
Question about the task
20 words that start with the letter "L"
Java Syntax
,
Level 8
,
Lesson 8
Resolved
i manage to complete the task.
but how does it work. i have no idea besides i want to output the added string. please help
14.08.2020
585
views
1
comment
0
sourav bamotra
Level 20
jammu
Question about the task
Take your turn!
Java Core
,
Level 6
,
Lesson 13
Under discussion
This multithreading is going to be in my bad books..lol
guys if i just don't make both the threads to join. it will not display result. what actually is going on? well i passed the task because everthing was provided in requirement :\
28.09.2020
372
views
1
comment
0
Ahu
Level 5
Slough
Question about the task
Cats in the Universe
Java Syntax
,
Level 4
,
Lesson 2
Under discussion
How comes the result in the display is 2 and not 4?
public class Solution { public static void main(String[] args) { Cat cat1 = new Cat(); Cat.count++; Cat cat2 = new Cat(); Cat.count++; System.out.println("The cat count is " + Cat.count); } public static class Cat { public static int co
07.12.2020
469
views
2
comments
0
Dmitri
Level 22
Seversk
Question about the task
Exception invasion
Java Core
,
Level 4
,
Lesson 8
Resolved
All exceptions are unique
All exceptions are unique. Why this requirement is not fullfilled?
07.12.2020
554
views
4
comments
0
Asia
Level 16
Bydgoszcz
Question about the task
Cat and statics
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
How can you do it with for looop?
I can see that a lot of you create 10 cats using a for loop, l don't get how could that work. Doesn't it create the same object all the time - cause it has the same reference - cat? To really have 10 cats isn't it necessary for them to have different references, like cat1, cat2 etc? I passed the ta
07.12.2020
434
views
3
comments
0
John Yarab
Level 8
Question about the task
Cat code won't compile
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Correct output but failing
After switching the .isEmpty to == null I was able to get things to compile. I receive the correct output of both objects and all their info but fail every requirement?
11.10.2019
1387
views
6
comments
1
Show more
1
...
102
103
104
105
106
...
366
Please enable JavaScript to continue using this application.