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
Youngsan
Level 41
Seoul
Question about the task
Bridges
Java Core
,
Level 4
,
Lesson 8
Resolved
Seems to be right solution, but failed to pass.
I got "The println method must display the number of cars (result of the getCarsCount method) for the passed WaterBridge object." What should be corrected to pass?
06.09.2020
605
views
2
comments
2
FelixUjo
Level 35
Gijón
Question about the task
Overriding serialization in a thread
Java Core
,
Level 10
,
Lesson 10
Under discussion
I don't know what's wrong.
I don't know what's wrong.
17.12.2023
91
views
1
comment
1
Sarah
Level 13
Question about the task
Chess board
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
Intelli IDE debug and run always failed
When I use the Intelli IDE to try to solve this chess board problem, I saw this message: Connected to the target VM, address: '127.0.0.1:53542', transport: 'socket' My solution to this task passed the validation on the web, BUT when I try to run it on the Intelli IDE, it cannot print out anything,
17.12.2023
88
views
1
comment
0
Matthew Riggs
Level 6
United States of America
Question about the task
Comparing strings by reference
Java Syntax
,
Level 3
,
Lesson 9
New
Clarification of task?
I've gotten two solutions that work but don't satisfy the requirements, so I don't think I fully understand the task prompt. Is it wanting me to compare the contents or address of the strings? And what does 'pairwise' comparison mean? I assume it's a term for one of those comparison type, but this
14.12.2023
106
views
1
comment
0
hidden #10467591
Level 19
Question about the task
Bridges
Java Core
,
Level 4
,
Lesson 8
Resolved
Where I am doing mistake?
Could you help me with this?
25.08.2019
1034
views
2
comments
1
LucGar
Level 22
Bilbao
Question about the task
Bridges
Java Core
,
Level 4
,
Lesson 8
Resolved
constans value
Hello, when in this requeriment says "The getCarsCount() method must return any constant int value." what is the meaning of "constant? I search, and i found that the meaning of constant is equal a parameter "final" .
31.03.2020
881
views
3
comments
1
catalin1989
Level 37
Question about the task
Make a word chain
Java Multithreading
,
Level 2
,
Lesson 9
Under discussion
I need some clarifications
After reading the asked questions about this topic I understand this: 1. The resulting chain mustn't be the longest 2. I assume that the chaining is at the beginning or at the end. I tested my code with the following input: CaaT Okinawa Washington Auckland Kalamazoo zoooZ zooe Norfolk The output
14.12.2023
278
views
8
comments
0
vinxxx0.1
Level 3
New
libGDX
Hi just wanna ask if you can use LIBGDX in this app to practice making games
14.12.2023
87
views
0
comments
0
Van Ha
Level 41
Bodegraven
Question about the task
Buon Compleanno!
Java Collections
,
Level 10
,
Lesson 10
Under discussion
What's wrong?
As far as I can tell I'm using the methods correctly, but it won't verify
01.05.2020
851
views
2
comments
3
catalin1989
Level 37
Question about the task
Inverted words
Java Multithreading
,
Level 2
,
Lesson 9
Resolved
Cant pass the last condition. Could you give me a hint?
I can't pass the last condition. Could you give me a hint? I have tested my code with a file that contains: tar rat rat tar tart a a tot tot tot ab ba ab c c d d and the output was this: tar rat a a tot tot ab ba c c d d I think I am missing something.
12.12.2023
105
views
2
comments
0
yehuda b
Level 23
Beersheba
Question about the task
Reinforce the singleton pattern
Java Core
,
Level 5
,
Lesson 12
Resolved
In intelij it validates besides for the second last condition and the message the mentor gives is: If the input string is "moon", assign the corresponding object to the variable thePlanet.
Happens to be that I also can't seem to understand what is wrong with my moon? maybe it's an eclipse :-)
18.06.2020
807
views
6
comments
2
Liliane Top
Level 17
Amsterdam
Question about the task
Reinforce the singleton pattern
Java Core
,
Level 5
,
Lesson 12
Resolved
Why do we have to call thePlanet = sun.getInstance
Why can we not just call the sun.getInstance() directly from Solution class?
30.03.2020
1003
views
2
comments
2
Benjamin Winchester
Level 17
Savannah
Question about the task
Static modifiers and exceptions
Java Core
,
Level 5
,
Lesson 9
Resolved
How to do I complete this task
I threw the Exception, and got the message. How do I complete the task?
04.12.2018
3830
views
11
comments
2
Matthew Riggs
Level 6
United States of America
Question about the task
High accuracy
Java Syntax
,
Level 3
,
Lesson 7
Under discussion
input mismatch expression error?
I try to test run the code and the wizard dude doesn't say there's anything wrong with it, but it fills the output box with the red error text saying there's an "InputMismatchExpression," but the error message is too long for me to see where it's telling me the error is because for some reason the i
12.12.2023
94
views
2
comments
0
Chris Hilborne
Level 26
Sanlucar de Barrameda
Question about the task
This age doesn't work for me…
Java Syntax
,
Level 4
,
Lesson 1
Under discussion
hint for everyone who is struggling
Hi guys, in the adjustAge method you need to think about what type of variable you are working with: if it's a static variable, I.e. it belongs to the CLASS of person - then it should be declared as static if it's an instance variable, i.e. it only belongs to this instance of the person class (t
16.02.2020
1403
views
5
comments
7
Matthew Riggs
Level 6
United States of America
Question about the task
Warm or cold
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
"Else without if " error when both are present?
Why does it say that "Else without if" when they are both there? If I comment out the 'else' statement it works properly, but I need both to work properly to meet all the requirements, right? I've had issues with accidentally trying to 'fix' a bug that is actually an intended feature and want to mak
10.12.2023
103
views
2
comments
0
FelixUjo
Level 35
Gijón
Question about the task
Reading and writing static fields to a file
Java Core
,
Level 10
,
Lesson 2
Under discussion
I don't know how to do any task anymore. I'll have to think about quitting.
I don't know how to do any task anymore. I'll have to think about quitting.
08.12.2023
101
views
1
comment
0
drAcs
Level 25
Germany
Question about the task
Octal converter
Java Syntax
,
Level 10
,
Lesson 2
Resolved
code works but doesn't verify
I did everything according to the conditions but it doesn't verify. The code works as it should. Maybe I'm overlooking something but I just can't find it. I would be grateful if you could find the problem!
07.12.2023
117
views
2
comments
0
Justin Smith
Level 41
Greenfield, USA
Question about the task
CashMachine (part 9)
Java Collections
,
Level 9
,
Lesson 15
Under discussion
Validator breaks trying to validate my code
The green bar for validation starts to go as normal, and then the window for the validator just disappears. None of the steps pass or fail. It doesn't give me a timeout error. The code, when tested, appears to do what is required in the conditions file.
06.06.2023
129
views
1
comment
0
catalin1989
Level 37
Question about the task
Hippodrome (part 2)
Java Multithreading
,
Level 1
,
Lesson 16
Resolved
Is there a problem with the validator?
The task is simple but it still isn't validating. I even copied the solution provided by CodeGym and it still isn't validating. I wonder what is the problem?
07.12.2023
86
views
2
comments
0
FelixUjo
Level 35
Gijón
Question about the task
Long words
Java Core
,
Level 9
,
Lesson 11
Resolved
I don't see what's wrong.
I don't see what's wrong.
06.12.2023
105
views
1
comment
0
WIDMO
Level 25
Gdańsk
Question about the task
Incorrect annotations
Java Collections
,
Level 8
,
Lesson 8
Resolved
Anybody knows what's wrong with my solution?
...
14.11.2020
387
views
1
comment
1
Anonymous #11423390
Level 5
Mountlake Terrace
Question about the task
There's never too much of a good thing
Java Syntax
,
Level 4
,
Lesson 5
Under discussion
I don't understand the last line of the answer
The last line "while (number >0 && number < 4); confuses me. Why it's not "while (number > 0 && number < 5);"? Can someone help to explain? Thank you!
30.11.2023
171
views
0
comments
0
Thanipattavan
Level 5
Question about the task
Triangle
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
wrong variable name in auto fill option
the final static variable is TRIANGLE_DOES_NOT_EXIST whereas in the auto fill hints section, the keyword is TRIANGLE_NOT_EXISTS Due to this, I got error when I run code and was wondering what wrong was with the variable. then finally found out that I used Autofill hints and hence error came
02.12.2023
97
views
0
comments
0
Thanipattavan
Level 5
Question about the task
Filled rectangle
Java Syntax
,
Level 4
,
Lesson 3
Under discussion
wrong output
I have declared and initialized the variable outside the loop instead of after the first while. is is because of that I am getting the error...if so,how and why that makes a difference.kindly clarify
04.12.2023
157
views
1
comment
0
BlackRainbow
Level 5
Eindhoven
Question about the task
Filled rectangle
Java Syntax
,
Level 4
,
Lesson 0
Under discussion
what is wrong with the PrintIn?
/* Filled rectangle */ public class Solution { public static void main(String[] args) { int a = 0; while (a < 5) { int b = 0; while (b < 10) { System.out.print('Q'); b++; } System.out.
24.08.2023
231
views
3
comments
0
FelixUjo
Level 35
Gijón
Question about the task
Replacing numbers
Java Core
,
Level 9
,
Lesson 11
Under discussion
I will have to skip these tasks until they explain regex.
I will have to skip these tasks until they explain regex.
03.12.2023
110
views
2
comments
0
Sumon
Level 9
Karlsruhe
Question about the task
Is anyone there?
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
Need help!!
Where am I doing wrong?
02.12.2023
171
views
1
comment
0
FelixUjo
Level 35
Gijón
Question about the task
John Johnson
Java Core
,
Level 9
,
Lesson 11
Resolved
Too difficult for me.
I don't know what to do.
02.12.2023
100
views
2
comments
0
Lawson
Level 29
Lagos
Question about the task
MVC (part 1)
Java Multithreading
,
Level 4
,
Lesson 14
Resolved
Help
Pls ... I failed all the requirements . it keeps telling me that I have not used all the classes... I compared with the other Solution and still no results
27.09.2020
470
views
1
comment
0
Show more
1
...
5
6
7
8
9
...
366
Please enable JavaScript to continue using this application.