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
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.
07.02.2019
1518
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 😁
04.06.2020
720
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
20.06.2019
1424
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
03.06.2020
547
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?
07.05.2020
1143
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
03.06.2020
422
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 {
03.06.2020
560
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()
02.06.2020
869
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 { } }
16.08.2019
1761
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.
01.06.2020
437
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."
22.01.2020
1266
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
03.06.2020
604
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
01.06.2020
554
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
03.06.2020
814
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.
15.03.2019
1450
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
15.11.2018
1962
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.
15.05.2020
646
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
09.02.2020
1210
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 :(
03.06.2020
440
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?
31.05.2020
439
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?
03.06.2020
551
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
30.05.2020
485
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
02.06.2020
881
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
02.06.2020
789
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
19.08.2018
1483
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.
18.05.2020
727
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'
31.05.2020
865
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 ????
02.10.2019
1221
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();
02.06.2020
488
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
01.06.2020
517
views
2
comments
0
Show more
1
...
184
185
186
187
188
...
372
Please enable JavaScript to continue using this application.