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
Akash sah
Level 8
Kathmandu
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
what is wrong with this code?
i dont think there is any wrong bt it fail to pass testing.
2/7/19
1626
views
3
comments
0
Ian Rafferty
Level 13
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
says I'm not storing the count in even or odd variables or matching the output conditions
I have used reader.read(int) as this is the only way I can get it to read each digit not the whole line and give the correct odd and even count. I can't get String.length() to work at all either. Any tips would be appreciated 😁
6/4/20
824
views
4
comments
0
Denis
Level 22
Kharkiv
Question about the task
In the blue depths of the stack trace…
Java Syntax
,
Level 9
,
Lesson 2
Resolved
HELP ME PLSSSS
Give me the solution for my understanding
6/20/19
1533
views
3
comments
0
Steve
Level 6
Hartford
Question about the task
StringHelper class
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
Last 2 conditions not met but when i test it my output seems to work
6/3/20
620
views
1
comment
0
Catherine
Level 23
London
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
else if without if error
I keep getting an else without if error, but I clearly have an if. Why is this happening?
5/7/20
1228
views
4
comments
0
Felix
Level 1
Center Moriches
Question about the task
Feline carnage
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
why are my solutions coming out like this?
I completed the task and got all the checks green. But why are my solutions in this format? Solution$Cat@15db9742 Solution$Cat@6d06d69c Solution$Cat@7852e922
6/3/20
534
views
2
comments
0
Sam
Level 13
ELIZABETH
Question about the task
Number of letters
Java Syntax
,
Level 10
,
Lesson 11
Resolved
Not sure what to do... a little hint will help
package com.codegym.task.task10.task1012; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; /* Number of letters */ public class Solution { public static void main(String[] args) throws Exception {
6/3/20
648
views
2
comments
0
Marek Pasierbek
Level 9
Poznań
Question about the task
Minesweeper (Part 4/16)
Games
,
Level 0
,
Lesson 0
Under discussion
Program is ready CodeGym validation is not ok
Program do all steps, but validation is not sucessfull package com.codegym.games.minesweeper; import com.codegym.engine.cell.*; public class MinesweeperGame extends Game { private static final int SIDE = 9; public void initialize() { setScreenSize(SIDE, SIDE); createGame()
6/2/20
961
views
5
comments
0
Bradley White
Level 1
Memphis
Question about the task
Minesweeper (Part 1/16)
Games
,
Level 0
,
Lesson 0
Under discussion
is this right
package com.codegym.games.minesweeper; import com.codegym.engine.cell.*; public class MinesweeperGame extends Game { public class Game { } }
8/16/19
1870
views
4
comments
0
Abhijeet
Level 28
Mumbai
Question about the task
AmigoSet (part 5)
Java Collections
,
Level 4
,
Lesson 15
Under discussion
what's wrong with this code. cant get the last condition.
what's wrong with this code. cant get the last condition.
6/1/20
533
views
1
comment
0
Carlos Cortázar
Level 17
Madrid
Question about the task
GCD
Java Core
,
Level 4
,
Lesson 8
Under discussion
I change the code bull still not runs
the program runs well but doesn't pass verification "If the entered lines can't be converted to positive integers, throw an exception."
1/22/20
1364
views
7
comments
0
Leonard Basag
Level 7
Iasi
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Not working
The code seems fine but it's not passing the test
6/3/20
689
views
1
comment
0
Koliber101
Level 22
Szczecin
Question about the task
Transactionality
Java Core
,
Level 7
,
Lesson 10
Resolved
Why my joindata doesn't remove lines??
s
6/1/20
631
views
2
comments
0
Marek Pasierbek
Level 9
Poznań
Question about the task
Roy G. Biv…
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
Good code - not good verification
I did this task, but CodeGym still doesn't accept it - problem with colors order. Why? package com.codegym.task.task03.task0315; /* Roy G. Biv… */ public class Solution { public static void main(String[] args) { //Solution solution = new Solution(); Solution.Red red = new Sol
6/3/20
883
views
2
comments
0
Alexey
Level 7
Chernihiv
Question about the task
StringHelper class
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
Why my code is not valid?
In Idea it works. Thanks for answer.
3/15/19
1542
views
5
comments
0
Grigore Turcan
Level 9
Chisinau
Question about the task
StringHelper class
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
Please help, what problem could be
in IDE result is ok, but here do not pass
11/15/18
2039
views
4
comments
0
Henry
Level 6
Stuttgart
Question about the task
Getters and setters for the Dog class
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
hi
I would appreciate if someone could help figure out where I am making a mistake.Thanks.
5/15/20
718
views
3
comments
0
Arun
Level 17
Tirupati
Question about the task
Getters and setters for the Dog class
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Giving Error of Identifier expected.
where is the wrong in my code...anyone can clarify it
2/9/20
1293
views
2
comments
0
dhanush
Level 30
Chennai
Question about the task
StringHelper class
Java Syntax
,
Level 6
,
Lesson 8
Resolved
help
last two requirements not satisfied :(
6/3/20
521
views
2
comments
0
Pedros Balandinos
Level 6
lusaka
Question about the task
Implement the fight method
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
conditions fail
Only the Cat class proceeds with tick and the rest of the task conditions fail. code works fine with cat1 fighting cat2 results returns true and so on with fight boolean statment..my question is how do i modify this code to suit the task?
5/31/20
509
views
1
comment
0
Angus McDonald
Level 5
Sydney
Question about the task
Different methods for different types
Java Core
,
Level 5
,
Lesson 12
Resolved
The Integer won't parse correctly?
Looks completely fine by my eyes.. any ideas?
6/3/20
637
views
1
comment
0
James Kelly
Level 31
Point Pleasant
Question about the task
CRUD
Java Core
,
Level 7
,
Lesson 10
Under discussion
How do u get the compiler to recognize arg[0]
I add the -c Washington m "04 15 1990" to the arguments in configurations and the compiler won't recognize the arg
5/30/20
584
views
1
comment
0
dhanush
Level 30
Chennai
Question about the task
Static cats
Java Syntax
,
Level 6
,
Lesson 11
Resolved
help
I didn't understand this program pls explain and 3&4 requirements are not satisfied
6/2/20
980
views
2
comments
0
Steve
Level 6
Hartford
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Resolved
not sure why last condition fails, everything works fine
6/2/20
865
views
3
comments
0
Shreyash Arondekar
Level 14
Gurgaon
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
please help me with this
8/19/18
1602
views
4
comments
0
Laurence
Level 10
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
Rebuilt this a couple of times but I can't seem to satisfy the last condition. Any help would be appreciated.
It outputs the max with positives and negatives. I've ran it through another compiler with N = 0 and N= negative, it returns nothing. I can't figure it out.
5/18/20
811
views
7
comments
0
Jonathan
Level 9
Wakiso
Question about the task
Bouncer policy
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Can't see issue
Last requirement is not fulfilled even when I remove the command on the 'else if'
5/31/20
949
views
2
comments
0
hidden #10444738
Level 16
Question about the task
Food
Java Core
,
Level 4
,
Lesson 4
Under discussion
Not sure what the problem is.
if I put onEat, it says I need onSelect. if I put onSelect, it says I need onEat ????
10/2/19
1320
views
5
comments
0
Aice
Level 2
Axim
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
I keep getting it wrong. please what is wrong with my code
public static class Person { //write your code here String name; int age();
6/2/20
576
views
1
comment
0
Stephen Haokip
Level 8
imphal
Question about the task
Do we have a pair?
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
plis help me with the fourth condition
i m pretty sure its right. but it didnt pass the testing
6/1/20
595
views
2
comments
0
Show more
1
...
186
187
188
189
190
...
374
Please enable JavaScript to continue using this application.