Promotion
CodeGym University
Java FullStack
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
Tahsin Anam
Level 12
Helsinki
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Resolved
The displayed text must match the task conditions.
Hello, Can you please tell me where I am doing wrong in this code? The answers seem to right.
4/19/20
1139
views
3
comments
0
Djole
Level 41
Belgrade
Question about the task
Space (part 3)
Java Collections
,
Level 3
,
Lesson 15
Resolved
bugged?
... private ArrayList<Ufo> ufos = new ArrayList<>(); private ArrayList<Rocket> rockets = new ArrayList<>(); private ArrayList<Bomb> bombs = new ArrayList<>(); ...
5/25/19
1371
views
4
comments
0
Liliane Top
Level 17
Amsterdam
Question about the task
Snake (Part 14/20)
Games
,
Level 0
,
Lesson 1
Under discussion
Very confused as the game is actually working
Can any please help me. I do not understand at all why this is failing the test as it is working.
2/29/20
1140
views
2
comments
0
Prashant Vishwakarma
Level 12
Mumbai
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
check code
Answer Is correct but it shows that min(a,b,c,d) should return minimum value
4/20/20
1206
views
2
comments
0
Zuzana Corea
Level 10
Kosice
Question about the task
Hello, StarCraft!
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
Help pls
What is wrong here
4/15/20
989
views
3
comments
0
Miroslav
Level 9
Bratislava
Question about the task
Console-based piggy bank
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
Guys please help why it doesnt sum in one number?
Can anyone please help me why this doesnt work?
4/1/20
1257
views
3
comments
0
Jakub Góźdź
Level 31
Katowice
Question about the task
Restaurant (part 22)
Java Multithreading
,
Level 9
,
Lesson 15
Under discussion
I get timeout
I have no clue what is wrong. I get timeout.
4/6/20
1331
views
1
comment
0
Brad Hawk
Level 20
Everett
Question about the task
Snake (Part 10/20)
Games
,
Level 0
,
Lesson 1
Resolved
Something is correct in my move() method.
What am I missing? When I run the program, it appears to be working properly.
4/21/20
1304
views
1
comment
0
Tony Ng
Level 6
Singapore
Question about the task
18+
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
All requirements pass but the first one.
As you can see, I have passed all requirements but the first one. My code shows that I have indeed call the program to read from the keyboard twice. Is this a bug ?
10/4/19
1546
views
3
comments
0
Johannes
Level 27
Centurion, Pretoria
Question about the task
Who called me?
Java Syntax
,
Level 9
,
Lesson 2
Resolved
Why would we use array index 2 of the stack ?
Where was that explained ?
3/13/20
1671
views
2
comments
0
Paul Harman
Level 5
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Resolved
what is wrong here?
om/codegym/task/task04/task0429/Solution.java:44: error: expected System.out.println("Number of negative numbers: " +negativeCount); it is telling me that ( is a problem
4/21/20
1144
views
2
comments
0
jorge ives murillo paredes
Level 1
New York City
Question about the task
MVC (part 6)
Java Multithreading
,
Level 4
,
Lesson 14
Under discussion
Please help
I don't know how to put the separator in a new line in the refresh(dataModel) method in the editUserView. And I have problems in the refresh UserView method.
3/7/20
1296
views
1
comment
0
sirisha karanki
Level 10
Question about the task
Three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
whats wrong with my code
package com.codegym.task.task04.task0424; /* Three numbers */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { //write your code here Scanner sc=new Scanner(System.in); int a=sc.nextInt();
4/10/20
1199
views
2
comments
0
Daniel L. Tovar
Level 9
Question about the task
Streets and houses
Java Syntax
,
Level 7
,
Lesson 4
Archived
Why is my code not meeting the last condition?
I thought the reason was because the code wasn't accounting for the 0 so I added || arr[i] == 0 to the code. Apparently that was not the problem. I've been trying to understand why but I don't see what I should change or add. Please, just explain the problem to me.
4/10/20
1241
views
2
comments
0
Marcin Olech
Level 41
Kraków
Question about the task
2048 (part 9)
Java Multithreading
,
Level 10
,
Lesson 15
Resolved
Got stuck. 6 & 7 requirements.
I'm not sure why is it not working. What else I need to do? Looks simple but...
12/1/19
1433
views
4
comments
0
Meensi
Level 3
Bangalore
Question about the task
Subjective reality
Java Syntax
,
Level 2
,
Lesson 3
Under discussion
output too long
package com.codegym.task.task02.task0210; /* Subjective reality */ public class Solution { public static void main(String[] args) { //write your code here System.out.println("If you don't code well, Java will come and eat your memory."); } }
4/1/19
2598
views
10
comments
0
Basem Zaki
Level 3
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
need to know how to limit the line to out put only 10 characters
package com.codegym.task.task03.task0314;
4/20/20
1180
views
1
comment
0
Łukasz
Level 16
GDANSK
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
Seemingly all is ok, but NO...
Hi Folks... I haven't an idea where it is bugs. Seemingly all is ok, but NO. Please help me! The displayed text should contain 10 lines --------> 13 line The displayed numbers must form a multiplication table --------> 15 line Thx
4/15/20
1406
views
5
comments
0
hidden #10602322
Level 3
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Resolved
what is out put of code
public static void main(String[] args) { what is actually why we write code of person person = new person () how is different from public static class
4/20/20
1094
views
1
comment
0
Henry Yao
Level 22
Pasadena
Question about the task
GCD
Java Core
,
Level 4
,
Lesson 8
Under discussion
Infinite loop ???
I run the program in eclipse IDE and there's no problem, but here, I can not pass a single one. and show: check your code. it looks like you have an infinite loop I really do not understand. I need help. Many Thanks
4/17/20
1204
views
3
comments
0
amal dileep
Level 4
kalpetta
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
symbol?
can't find symbol
4/19/20
1084
views
2
comments
0
Bryce Lindley
Level 9
Olympia
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
What am I getting wrong here? Seems close I hope
Any pointers? Thanks
4/19/20
1083
views
2
comments
0
Bryce Lindley
Level 9
Olympia
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Seems correct but why is this wrong?
I know there are easier ways to do this with Arrays but with how I've done this below. Shouldn't this be producing the numbers and everything should be golden? P.S. Line 53 is actually System.out.println(largest + " " + middle + " " + smallest); I was just testing in case of a bug ;p Thanks fo
4/19/20
1223
views
2
comments
0
null
Level 2
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
loop
int i = 1; while ( i < 5){ System.out.println(s) i++;
4/15/20
1234
views
2
comments
0
Fadi Alsaidi
Level 34
Carrollton, TX
Question about the task
Introducing tags
Java Core
,
Level 9
,
Lesson 11
Resolved
Any html example that would make my code fail would be appreciated
I can send you my email if you send me a message to avoid the issue of posting html code which seems to be an issue. I tried many ways to fail the the code and can't get any errors. Any help would be appreciated
4/18/20
1393
views
1
comment
0
Wei Cui
Level 39
Newark
Question about the task
Introducing tags
Java Core
,
Level 9
,
Lesson 11
Resolved
last one
last question is how to sort hashmap by integer key
3/29/20
1471
views
2
comments
0
Ellen
Level 29
Antwerpen
Question about the task
Introducing tags
Java Core
,
Level 9
,
Lesson 11
Under discussion
Output is correct but it doesn't pass...
Any ideas on why it doesn't meet the last requirement?
2/19/20
1132
views
1
comment
0
holybible
Level 28
Plovdiv
Question about the task
Introducing tags
Java Core
,
Level 9
,
Lesson 11
Under discussion
I cannot seem to get the right solution.
Despite my solution working with the main example, plus it is working with multiple nested tags (2+) and other tags different from the main one.
9/14/19
1464
views
2
comments
0
lonelygleaner
Level 1
New York
Question about the task
Introducing tags
Java Core
,
Level 9
,
Lesson 11
Under discussion
Got the example result but not failed the test
What does it mean by "The number of spaces, newline characters (\n), or carriage returns (\r) does not affect the result."?
8/26/19
1489
views
2
comments
0
Jackgai
Level 26
Tokyo
Question about the task
Introducing tags
Java Core
,
Level 9
,
Lesson 11
Under discussion
Could someone give me some help.
I can get the example output. And for the structure like " text1 text2 text3 ", the output of my code is like " text1 text2 text3 text2 text3 text3 " It's hard for myself to figure out the problems. Hope someone could help me out. Appreciate it!
8/9/19
1496
views
2
comments
0
Show more
1
...
210
211
212
213
214
...
375
Please enable JavaScript to continue using this application.