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
Alex Tor
Level 31
Question about the task
Path update
Java Syntax
,
Level 10
,
Lesson 5
Resolved
I've been trying at least two different ways - none of them seem to be worked.
Hi guys, pls, gimme a hint, as it's most likely I didn't get what kind of implementation they want. Thank you!
10.08.2022
241
views
2
comments
0
sumit singh
Level 5
Question about the task
Filled rectangle
Java Syntax
,
Level 4
,
Lesson 3
Under discussion
program ran for too long?
i am trying to complete a task but it is showing that the program ran for too long. what should i do?
09.08.2022
300
views
2
comments
0
michal9696
Level 18
Poland
Question about the task
Increments
Java Syntax
,
Level 8
,
Lesson 3
Resolved
Hi, I don't know if I good understand
Hi, I don't know if I good understand that: a = 3 b = ++a + (a-- * ++a) 1. first a-- from parentheses: b = 3 + (2 * 3) 2. second ++a from parentheses: b = 3 [3-1(postfix a--)+1(prefix ++a)] + (3 [2+1(prefix ++a)] * 3 [3-1(postfix a--)+1(prefix ++a)]) 3. third ++a outside parentheses: b = 4 [3+1(pre
09.08.2022
337
views
3
comments
0
Alex Tor
Level 31
Question about the task
Binary converter
Java Syntax
,
Level 10
,
Lesson 2
Resolved
What's wrong with toBinary(int)
Hello everyone, There is something wrong with the method toBinary(int) pls, gimme a hint. Thank you in advance!
08.08.2022
305
views
3
comments
0
Anitamalina
Level 18
København
Question about the task
GCD
Java Core
,
Level 4
,
Lesson 8
Resolved
Inifinite wild loop error
I get that message when evaluating my code on codeGym, but I can't seem to find it in my IDE. It gives me the correct result. But maybe there is a test case I'm unaware of?
08.08.2022
371
views
1
comment
0
Paul
Level 24
Vienna
Question about the task
Mastering the static block
Java Core
,
Level 5
,
Lesson 12
Under discussion
Failing to create a plane object
Hi I don't understand what is going wrong in my code. It seems the plane object can't be created. Thanks for any hints
07.08.2022
372
views
4
comments
0
Coboliste
Level 46
Casablanca
Question about the task
Tracking changes
Java Core
,
Level 9
,
Lesson 11
Resolved
The code works correctly, but still rejected because of the last requirement !
Hi everyone, The code seems working correctly, I got the same expected results for the two examples, but the code is still rejected by the validator, can any one please tell me the reason behind that ? thanks a lot. Recommendation from the mentor Be sure that the lines list has the SAME label with
06.08.2022
290
views
2
comments
0
Dawn( #11020889)
Level 37
Toronto
Question about the task
Binary to hexadecimal converter
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
i totally have no idea
hexToBinary method run successfully and also i test some other number, but failed the task test. why? please help me!
05.08.2022
289
views
1
comment
0
Anitamalina
Level 18
København
Question about the task
User, loser, coder and programmer
Java Core
,
Level 4
,
Lesson 8
Under discussion
I print correct, I think - but still don't pass :S
I have made static methods in Person.java.. otherwise, my method doWork in Solution-class wouldn't work.. e.g. Person.User.live(); But I can't pass the last requirements?.. Anyone who can tell what I am doing wrong?
04.08.2022
343
views
8
comments
0
Anitamalina
Level 18
København
Question about the task
Wine tasting
Java Core
,
Level 4
,
Lesson 8
Resolved
I can't pass the requirements.. ?
I changed the return type of the method: public static SparklingWine getSparklingWine() to SparklingWine instead of Wine. But neither works.. so I don't understand what to do different?
04.08.2022
288
views
1
comment
0
Anitamalina
Level 18
København
Question about the task
Minesweeper (Part 13/16)
Games
,
Level 0
,
Lesson 0
Under discussion
Can't pass two requirements
I can't pass the last requirements. Maybe it's the sentence "and the last revealed cell is not a mine" - that I don't do right ?.. Anyone knows?
03.08.2022
238
views
2
comments
0
Jaime Padilla
Level 20
Chandler
Question about the task
Chasing after types
Java Syntax
,
Level 13
,
Lesson 7
Under discussion
Not validating
It seems to work perfectly. Not sure why the last condition is not passing.
30.07.2022
326
views
2
comments
0
Dawn( #11020889)
Level 37
Toronto
Question about the task
Binary converter
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
what's the problem?
after running my code i got the correct result, but the task failed. why? anyone can help? Please!
31.07.2022
278
views
3
comments
0
Abhishek Rangari
Level 22
Nagpur
Question about the task
Factory method pattern
Java Core
,
Level 6
,
Lesson 13
Resolved
Can someone help me in this task
Last condition is not satisfying
13.12.2018
2512
views
14
comments
0
Денис Чистяков
Level 30
Poland
Question about the task
Cat carnage (2)
Java Syntax
,
Level 10
,
Lesson 2
Resolved
Why this solution don't pass validator?
Why this solution don't pass validator?
01.08.2022
271
views
2
comments
0
LuisRC
Level 39
Gijón
Question about the task
Binary converter
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
What's my mistake?
Why I'm not able to pass the vaildation? This is the comment from my mentor but I'm not able to see my mistake. Be sure that the toDecimal(String) method returns 0 if it receives an empty string or null as input. Some help, please?
13.01.2022
605
views
5
comments
0
Glenn Akens
Level 2
Riverview
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
not getting the correct c min value and code seems to work without { } brackets as well.
I just need a little help understanding this and if I should be writing it any differently. I see other examples with " { } " brackets around the inside of the if statements and I see double boolean && that im a little unsure of how to use as well.
20.08.2021
663
views
3
comments
0
Alex Tor
Level 31
Question about the task
Remove duplicate strings
Java Syntax
,
Level 6
,
Lesson 4
Resolved
Input \ Output are corresponding to the conditions, but the solution won't validate.
Hi guys, Please, gimme a hint. Thank you in advance!
20.07.2022
415
views
6
comments
1
Wojciech Dąbrowski
Level 27
Warsaw
Question about the task
Advanced file search
Java Collections
,
Level 1
,
Lesson 2
Under discussion
Criteria didn't passet at the same time.
Can you help?
01.12.2020
501
views
2
comments
0
Alex Tor
Level 31
Question about the task
Correct order
Java Syntax
,
Level 7
,
Lesson 2
Under discussion
The task was solved, but may it be written in a better way?
Hi guys, I solved this task, but I don't like that I had to create a new int[] nums that needed to be populated with the reversed integers from the originating array, and I was wondering if there is another, better way to solve it without being necessary creating a new temporary int[] ? Thank you in
27.07.2022
499
views
5
comments
0
Albert ENG
Level 6
Question about the task
Positive and negative numbers
Java Syntax
,
Level 3
,
Lesson 10
Under discussion
whu my code doesnt work in itneleIDE but it works in Eclipse
27.07.2022
215
views
1
comment
0
Anitamalina
Level 18
København
Question about the task
Minesweeper (Part 12/16)
Games
,
Level 0
,
Lesson 0
Under discussion
I can't solve this - and I don't understand what is wrong with my code..
Can anyone help?
27.07.2022
291
views
2
comments
0
Justin Smith
Level 41
Greenfield, USA
Question about the task
Bit operations
Java Multithreading
,
Level 10
,
Lesson 6
Resolved
Works flawlessly, follows listed rules perfectly, but won't pass the "allowed operators" criteria
I should start by mentioning that I know Wei Cui posted something that will pass in another person's question, but if I just copy and paste that I won't be learning why my own code is not validating. I can't seem to find any of the listed requirements I'm not in line with, and it works for all value
23.07.2022
317
views
8
comments
0
Pranai Rao
Level 7
Nashua, NH
Question about the task
Lonely arrays interact
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
Requirement #4 not Checking
I've written this code and it is providing the correct output. Yet, the 4th requirement isn't passing. Any suggestions? package com.codegym.task.task07.task0703; import java.io.BufferedReader; import java.io.InputStreamReader; /* Lonely arrays interact */ public class Solution { public st
26.07.2022
248
views
1
comment
0
Alex Tor
Level 31
Question about the task
Splitting an array
Java Syntax
,
Level 6
,
Lesson 8
Resolved
How to proceed?
Hi guys, I can't figure out how to proceed and whether I'm in the right way to resolve this task. Pls, gimme a hint(s). 1. Should I fill a new 2d Array result by adding the values from the two other arrays result1 and result2 2. Which method(s) would be suitable here? Thank you in advance!
25.07.2022
309
views
2
comments
0
Micle
Level 12
Barnaul
Question about the task
Triangular array
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Right result, except of one requirement
It was required, that i had to fill array with right numbers in the main method. Where is my mistake? Help pls
23.07.2022
367
views
6
comments
0
RogerioGT.com
Level 3
Guatemala
Question about the task
How to take over the world
Java Syntax
,
Level 2
,
Lesson 8
New
How to use this code in Eclipse and does the class change from main?
I am not understanding how the structure is working or if the class is affected. I want to also try it on Eclipse compiler. Thank you!
20.11.2021
556
views
0
comments
0
Pranai Rao
Level 7
Nashua, NH
Question about the task
Notepad for new ideas
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Here is my code below. As far as I can tell, it works perfectly fine. I'm not sure what I need to change in order for this to meet the satisfaction of the verifier. Any tips?
package com.codegym.task.task06.task0617; /* Notepad for new ideas By Pranai Rao */ public class Solution { public static void main(String[] args) { Idea newIdea = new Idea("I should rule the universe!"); printIdea(newIdea); } public static void printIdea(Idea idea)
22.07.2022
284
views
2
comments
0
Anonymous #10798360
Level 8
Woking
Question about the task
Maximum in an array
Java Syntax
,
Level 7
,
Lesson 4
Resolved
Getting nullpointerException. I've re-read the code several times even got rid of return null but nothing seems to be working. Pls help!!! Thanks
package com.codegym.task.task07.task0701; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /* Maximum in an array */ public class Solution { public static void main(String[] args) throws Exception { int[] array = initializeArray();
22.07.2022
301
views
4
comments
0
Raj Mishra
Level 14
India
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Under discussion
I am getting correct output but the second last validation is failing
Unable to identify the cause of failure as I am getting correct output.
23.07.2022
243
views
2
comments
0
Show more
1
...
34
35
36
37
38
...
366
Please enable JavaScript to continue using this application.