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
Ivan
Level 31
Podol'sk
Question about the task
2048 (part 12)
Java Multithreading
,
Level 10
,
Lesson 15
Under discussion
I don’t understand where the error is here?
the first check point does not pass
05.08.2019
1380
views
3
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
AmigoOutputStream
Java Core
,
Level 8
,
Lesson 8
Under discussion
can you explain me how to resolve this task?
need help
13.03.2019
1935
views
9
comments
0
Björn
Level 1
Aachen
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
sorting just the first half of the array - why that?
input: 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 output: 10 10 9 9 8 8 7 7 6 6 6 6 7 7 8 8 9 9 10 10 Any ideas why it is just sorting the first half? if I output the memArray before the for loop, it shows me the correct order. What is going wrong when i am copying memArray to array? for (int i
09.04.2020
883
views
1
comment
0
Pawel
Level 22
Austin, TX
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Resolved
sorting words - don't pass but the output is correct
could someone check what's wrong with this code? input examples which give incorrect output will be enough :)
27.03.2020
943
views
2
comments
1
Diana Pettit
Level 4
Mobile
Question about the task
Pets need people
Java Syntax
,
Level 2
,
Lesson 5
Resolved
What could be wrong?
I did the code. I even consulted other questions and I can't figure out why it's not accepting this. What am I missing?
05.01.2020
1524
views
5
comments
0
vishesh yadav
Level 7
Mumbai
Question about the task
Parenthetical brainteaser
Java Syntax
,
Level 3
,
Lesson 4
Resolved
suggestions pls🙏
i have tried numerous ways but didn't make it. at last end up with with 3 parenthesis. pls suggest what am i missing?
28.03.2020
1177
views
2
comments
0
- FniJnn -
Level 33
Paris
Question about the task
Refactoring (part 14)
Java Multithreading
,
Level 5
,
Lesson 16
Under discussion
I don't get it, everything is fine
Thanks :)
10.02.2020
1017
views
2
comments
0
Sweetyyy Angel
Level 3
Erode
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Resolved
i understood to create an object named Person,but still i'm confused with the terms "assign a reference to the variable ".
package com.codegym.task.task02.task0202; /* Where does a Person come from? */ public class Solution { public static void main(String[] args) { //write your code here Person person; person = new Person(); } public static class Person {
30.03.2020
1355
views
3
comments
0
Samantha
Level 4
Crofton
Question about the task
Part of a calculator
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Hey, what does it mean by main method? I've seen this a few times now and Im not understanding.
What does it mean? Also, what did I do wrong on this?
16.02.2020
1250
views
1
comment
0
hidden #10550504
Level 10
Question about the task
Cat register
Java Syntax
,
Level 4
,
Lesson 2
Resolved
Hi! I don't understand what is wrong and what I should write here? I did try in many ways. Please help!
Help me please!
03.04.2020
1313
views
4
comments
0
JianQiu Hwang
Level 35
Washington
Question about the task
Iterating through a file tree
Java Collections
,
Level 1
,
Lesson 2
Archived
After I deleted the test file below "task3101" directory, I passed the test?
Previous attempts unmeeted the requirement that "1. The file passed as the second argument to main must be renamed to allFilesContent.txt.". However, after I deleted the test file below "task3101" directory, I passed the test. So, the file, called "allFilesContent.txt" at the "task3101" directory, c
15.03.2020
1117
views
2
comments
0
David
Level 26
Bucharest
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Resolved
any hint
Help, I can't see where is the mistake
07.04.2020
1142
views
3
comments
0
Jiesheng Yang
Level 8
Sulzbach
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
What is wrong?
I have no idea what why java tells me that I had a Format Bug. Please help. java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:542) at java.lang.Integer.parseInt(Integer.java:615) at com.codegym.task.task05.task0532.Solution.main(Solution.java:18) at sun.reflect.N
07.04.2020
911
views
2
comments
0
Daniel L. Tovar
Level 9
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Can anybody explain to me why this is not working?
I've been trying for several minutes now and I don't know how to get this to work.
08.04.2020
772
views
1
comment
0
Uchenna Benjamin
Level 15
Madisonville
Question about the task
To the top of the list
Java Syntax
,
Level 7
,
Lesson 6
Resolved
I don't understand what the third condition wants me to do.
What is the meaning of adding line at the beginning of the code. the third condition. thanks for the help...
07.04.2020
922
views
2
comments
0
Jakhongir Ruziev
Level 23
Tashkent
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Resolved
I cannot pass tests but it seems to be working fine. Can someone help figure out. My 2nd question is if I uncomment longest = list.get((0)).length(); on the line 33 it does not return longest. Can someone explain why?
for (int i=0; ilongest) longest=list.get(i).length(); }
07.04.2020
1138
views
1
comment
0
Jakhongir Ruziev
Level 23
Tashkent
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Help me please. Cannot solve the problem for hours
R or L
07.04.2020
1017
views
2
comments
0
MP
Level 8
Wietzendorf
Question about the task
Seeing dollars in your future
Java Syntax
,
Level 4
,
Lesson 10
Resolved
What is wrong?
Can somebody tell me what is wrong with my code? It seems like the second while is only used once. So if I add a "1" instead of the free space with my System.out.println("1"); it displays : $$$$$$$$$$1 1 1 1 1 1 1 1 1 1 I don't really understand why the second while loop is used only once. Aren
21.01.2019
3051
views
9
comments
0
Niladri pradhan
Level 33
Mumbai
Question about the task
Plants vs Zombies
Java Multithreading
,
Level 8
,
Lesson 10
Resolved
Last two condition not met
Output is same when running in intellij but task did not pass verification
15.12.2019
1071
views
1
comment
0
hidden #10480780
Level 20
Question about the task
Output only digits
Java Core
,
Level 9
,
Lesson 8
Under discussion
Where am I wrong? The output of the given source code is 12345678 like the requested.
I do not understand, because the produced console output is the same as the defined output. I have tried with iteration and Stringbuilder but it did not work either, and lot of another methods.
11.07.2019
1657
views
4
comments
0
Tony Roy
Level 41
Victorville
Resolved
IntelliJ running stuck on running wrong task??
So I completed task 0820. It compiled and passed verification. But now, for everything I try -- the next task and ones before, intelliJ reverts to compiling task 0820 C:\IDEA projects\CodeGymTasks\1.JavaSyntax\src\com\codegym\task\task08\task0820\Solution.java and gives an error for it. It als
05.03.2020
807
views
3
comments
0
Jakhongir Ruziev
Level 23
Tashkent
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Resolved
Help me please. I cannot figure out the issue here
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int maximum = MIN_VALUE; int n = Integer.parseInt(reader.readLine()); if (n>0) { for (int i = 0; i < n; i++) { int num = Integer.parseInt(reader.readLine());
05.04.2020
1565
views
6
comments
0
Michael Brimage
Level 19
Washington D.C.
Question about the task
Tom, Jerry and Spike
Java Core
,
Level 3
,
Lesson 6
Under discussion
No Idea
I have no Idea why my code is not passing!!!
07.04.2020
691
views
1
comment
0
Michael Brimage
Level 19
Washington D.C.
Question about the task
Buggy initializeIdAndName
Java Core
,
Level 3
,
Lesson 2
Under discussion
I am getting the correct output
The last two tasks are not validated!!
06.04.2020
1043
views
2
comments
0
hidden #10550504
Level 10
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
The result is right , what is wrong??
thank's everyone for your help
07.04.2020
976
views
2
comments
0
MecoS
Level 16
Question about the task
Buggy initializeIdAndName
Java Core
,
Level 3
,
Lesson 2
Under discussion
I didn't understand what is the probmem.
package com.codegym.task.task13.task1306; /* Buggy initializeIdAndName */ public class Solution { public static void main(String[] args) throws Exception { System.out.println(Matrix.NEO); System.out.println(Matrix.TRINITY); } static class Matrix { public sta
07.04.2020
866
views
1
comment
0
Teodor Clipa
Level 41
Bucharest
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Resolved
Second verification fails
Can't see the reason this fails. Is the checker doing something wrong?
07.04.2020
799
views
3
comments
0
Thango Ö
Level 9
Chennai
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Haa
Help me out..
28.01.2019
1640
views
5
comments
0
Premachandran
Level 35
Ernakulam
Question about the task
Restaurant (part 19)
Java Multithreading
,
Level 9
,
Lesson 15
Under discussion
Though I get correct console output the task is not passing verification. What may be the reason?
The conditions are not passing verification. Please help.
12.03.2020
882
views
1
comment
0
HaeWon Chung
Level 17
Boston
Question about the task
Minesweeper (Part 4/16)
Games
,
Level 0
,
Lesson 0
Resolved
IntelliJ doesn't run the code
Is it suppose to create 9X9 grid? When I run it, it doesn't do anything and just wait. But if I click verification, it somehow verifies the task and give me pass (or fail). I have intentionally commented last line so that it doesn't pass the verification and allow me to attach my code. IntelliJ had
06.04.2020
2138
views
7
comments
0
Show more
1
...
213
214
215
216
217
...
372
Please enable JavaScript to continue using this application.