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
Java 25
All quests
All levels
Any status
Questions about tasks
Hot
Nicolas Huet
Level 41
Provins
Question about the task
John Johnson
Java Core
,
Level 9
,
Lesson 11
Resolved
It works accordingly to the condition I see, but won't pass name's condition...
I really don't see the problem. It adds all the names from the file in args[0], even with "-" or anything actually because I just don't modify them, I just cut the string at the begining of the numbers... Can someone help me if there are still people here after the new paid membership?
6/30/19
2146
views
4
comments
1
DW
Level 4
Question about the task
Parenthetical brainteaser
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
My Code displays everything correctly in the output. But it fails to verify. Why
public class Solution { public static void main(String[] args) { System.out.println("(( " + 2 * (3 + (4 * (5 + (6 * 7)))) + " ))"); } }
7/1/20
671
views
1
comment
0
Magda
Level 19
Torun
Question about the task
Space Invaders (Part 31/34)
Games
,
Level 0
,
Lesson 6
Resolved
Ship class's nextFrame() method - problem with loop Animation mode
Hi, I've got problem with condition: The Ship class's nextFrame() method must set frameIndex to 0 if frameIndex is greater than or equal to the number of frames in the frames list and loopAnimation is true. My nextFrame() method looks like this: public void nextFrame() { frameIndex++;
6/30/20
542
views
2
comments
0
Deshkevich Alexey
Level 24
Minsk
Question about the task
Tetris (part 14)
Java Collections
,
Level 2
,
Lesson 15
Under discussion
Help. Can not pass second requirements.
Hi. My solution locally looks fine. All full lines are removed and remained not empty are moved down. But I can't still pass the second requirement. Could someone help?
6/21/20
1036
views
2
comments
0
RATNAKAR SAHOO
Level 2
nayagarh
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
I can't figure out
I am having stackoverflow problem plz suggest
7/1/20
694
views
1
comment
0
Swaroop Raghavendra
Level 2
None
Question about the task
The required number
Java Syntax
,
Level 2
,
Lesson 5
Under discussion
Please help me to find my mistake!
it shows that -" You need to comment out same lines and leave the remaining lines unchanged" - Is not completed. I want to understand where I went wrong.
6/30/20
637
views
2
comments
0
Beata
Level 8
Essen
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
it works, but its doesn't pass the test
need help
6/30/20
792
views
3
comments
0
Brad Reed
Level 19
Hartford
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Resolved
last condition
um its displaying the string that breaks the increasing value like it asked. but still fails. so, community...help me find my error please!!
6/29/20
711
views
3
comments
0
RATNAKAR SAHOO
Level 2
nayagarh
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Resolved
I can't figure it out
help me I can't complete the task
6/30/20
693
views
1
comment
0
ARIJIT SAHA
Level 3
Kolkata
Question about the task
Print three times
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
print3 three times
When I run this program, its output is exactly the same which is required in the condition. But still while verifying it, the fifth condition is not satisfied. What to do?
8/19/18
3469
views
10
comments
0
David
Level 26
Bucharest
Question about the task
Picking out numbers
Java Core
,
Level 9
,
Lesson 5
Resolved
What's wrong with the while loop?
I says that I have an infinte loop, but when I run the code I get the wanted output
6/30/20
1064
views
16
comments
0
Anthony Mack
Level 2
Waukesha
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
I'm getting the output shown in the example, but it's not recognized by the system
I got my algorithm to sort and display the results as shown in the output example, but it's not recognized by system. Can anyone advise as to why it's not working? Thank you.
6/30/20
605
views
2
comments
0
Sherlockk
Level 9
Kraków
Question about the task
In the blue depths of the stack trace…
Java Syntax
,
Level 9
,
Lesson 2
Resolved
I can't understand what is wrong?
public class Solution { public static void main(String[] args) throws Exception { int deep = getStackTraceDepth(); } public static int getStackTraceDepth() { // write your code here StackTraceElement[] element = Thread.currentThread().getStackTrace(); S
6/30/20
838
views
3
comments
0
Jonas
Level 41
Vilnius
Question about the task
Exception factory
Java Collections
,
Level 8
,
Lesson 6
Under discussion
Weird response from mentor
It says that server can't properly test my solution
6/10/20
845
views
1
comment
0
Tata
Level 16
Hisar, Haryana
Question about the task
Software update
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
could anyone explain this task to me .
please.
6/30/20
694
views
0
comments
0
David
Level 26
Bucharest
Question about the task
Counting words
Java Core
,
Level 9
,
Lesson 5
Resolved
Can anyone help me, Please!!!
I can't see what is wrong I know I could take someonelese's solution but I am not learning in this way.
6/29/20
671
views
6
comments
0
Beata
Level 8
Essen
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Resolved
what is wrong with my code?
I already tested it with other values, it works, but it doesn't verify
6/30/20
626
views
2
comments
0
Ash Ka
Level 13
Calgary
Question about the task
Census
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
getSameFirstNameCount() method fails. Please help.
Attached the code. Please help!
5/31/19
1727
views
5
comments
0
Tata
Level 16
Hisar, Haryana
Question about the task
Working with dates
Java Syntax
,
Level 8
,
Lesson 11
Resolved
I'm getting NumberFormatException. How to solve it.
where i'm wrong, please help.
6/29/20
872
views
5
comments
0
Catherine
Level 23
London
Question about the task
Let's put together a rectangle
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
Error message is confusing.
I don't understand what this error means... com/codegym/task/task05/task0513/Rectangle.java:25: error: method initialize(int,int,int) is already defined in class com.codegym.task.task05.task0513.Rectangle public void initialize (int top, int left, int width){
5/8/20
759
views
4
comments
0
Tony Roy
Level 41
Victorville
Question about the task
Minesweeper (Part 7/16)
Games
,
Level 0
,
Lesson 0
Resolved
Same as everyone else. It seems to work but won't pass validation. The key bit of code is in openTile(int x, int y).
private void openTile(int x, int y) { if (gameField[x][y].isMine) setCellValue(x,y,MINE); else setCellNumber(x,y,gameField[x][y].countMineNeighbors); gameField[x][y].isOpen = true; setCellColor(x,y,Color.GREEN); }
3/3/20
1210
views
4
comments
0
Usha Mathivanan
Level 15
CHENNAI
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Resolved
Pls Help me what's wrong ?????
Only condition no.1 and no.4 is satisfied
6/26/20
626
views
2
comments
0
Sarvesh
Level 11
Bangalore
Question about the task
Census
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
Can anyone help me idnetify my error ?
3/5/19
1772
views
2
comments
0
sarthak pawar
Level 19
Nashik
Question about the task
Making a human
Java Core
,
Level 2
,
Lesson 9
Under discussion
what's wrong with this code???
????
6/28/20
584
views
2
comments
0
Rita
Level 9
Viana do Castelo
Question about the task
Only for the rich
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Why am I not meeting the last requirement?
I don't understand what I'm doing wrong, could somebody please give me a hint or something?
6/29/20
723
views
3
comments
0
Michael Brimage
Level 19
Washington D.C.
Question about the task
TableAdapter
Java Core
,
Level 9
,
Lesson 3
Under discussion
Ive Tried everything
I cannot for whatever reason I am not doing the escape correctly. so this is what ive come up with. the output looks correct but still not verifying please help
6/29/20
750
views
1
comment
0
Randall John
Level 19
San Jose
Question about the task
Request parser
Java Core
,
Level 5
,
Lesson 12
Under discussion
Code works for the example but won't verify Please HELP
What am I doing wrong here?
6/28/20
547
views
2
comments
0
Henrique
Level 41
São Paulo
Question about the task
Adapting multiple interfaces
Java Core
,
Level 9
,
Lesson 3
Under discussion
Cannot verify last requirement. Someone could help me, please?
I've already searched the other topics and couldn't find a proper answer to my case. The error message is: "The getPhoneNumber() method should return a valid phone number (see the examples), padded with zeros if necessary to get 10 digits. The phone number and its country code should be retrieved u
6/29/20
599
views
2
comments
0
Denis
Level 22
Kharkiv
Question about the task
Adapting multiple interfaces
Java Core
,
Level 9
,
Lesson 3
Under discussion
Need help
Help me pls
6/29/19
1263
views
4
comments
0
Sindhura
Level 15
Delhi
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
not verifying :(
package com.codegym.task.task10.task1019; import java.io.*; import java.util.HashMap; import java.util.Map; /* Functionality is not enough! */ public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStrea
10/10/18
2158
views
6
comments
0
Show more
1
...
175
176
177
178
179
...
374
Please enable JavaScript to continue using this application.