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
Emil Valentin Toma
Level 6
Stockport
Question about the task
Snake (Part 1/20)
Games
,
Level 0
,
Lesson 1
Resolved
can't compile
I've tried different java version, installed the engine folder in different places. The only error constantly popping is related to the main class. The main class can't be found. Although the class SnakeGame is the right path and all the instructions provided were carefully followed, the main class
12.07.2019
2063
views
5
comments
0
Picvajzmen
Level 20
Belgrade
Question about the task
User, loser, coder and programmer
Java Core
,
Level 4
,
Lesson 8
Resolved
what the hell is the problem.... The main method should stop reading strings from the keyboard as soon as the entered string does not match one of the allowed strings ("user", "loser", "coder", "programmer").
Does not want to verify.... "The main method should stop reading strings from the keyboard as soon as the entered string does not match one of the allowed strings ("user", "loser", "coder", "programmer")."
11.07.2019
1386
views
5
comments
0
Antonia
Level 10
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
??
error??
09.07.2019
1427
views
3
comments
0
Rainer Ricardo Rodrigues
Level 4
Mumbai
Question about the task
Seasons on Terra
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
What is wrong with my code?
Everything has been verified except for the last one .
01.07.2019
1152
views
1
comment
0
Stefan Craia
Level 15
Bucharest
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
Won't pass validation but, it works
public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String grandfatherName = reader.readLine(); Cat catGrandfather = new Cat(grandfatherName); String gr
14.07.2019
1197
views
1
comment
0
Yuchen
Level 17
Los Angeles
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
Please tell me why I can't get output here?
Please tell me why I can't get output here?
12.07.2019
1150
views
2
comments
0
Anand Sharma
Level 6
Mumbai
Question about the task
Create a Circle class
Java Syntax
,
Level 5
,
Lesson 7
Resolved
I don't understand what is wrong?
What is wrong in this code ? I Don't understand ?
12.07.2019
1773
views
1
comment
0
Raisa Toscano
Level 22
Tepic
Question about the task
Only for the rich
Java Syntax
,
Level 8
,
Lesson 8
Resolved
what's wrong here?
public static void removeItemFromMap(HashMap map) { HashMap m= new HashMap<>(map); //write your code here Iterator>I= m.entrySet().iterator(); while(I.hasNext()) { int value=I.next().getValue(); if(value<500) I.remov
03.01.2019
2160
views
3
comments
0
Bill Wu
Level 29
Wellington
Question about the task
Chat (part 10)
Java Multithreading
,
Level 6
,
Lesson 15
Resolved
why the last requirement not met?
I used the if else to make sure that if the type is not TEXT, an error is displayed.
29.04.2019
1393
views
2
comments
0
Alison
Level 9
Madison
Question about the task
Five winners
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
What's wrong?
Where am I going wrong?
13.07.2019
1259
views
1
comment
0
Mikayla Pace
Level 27
Salt Lake City
Question about the task
Vowels and consonants
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Getting the correct output, not validating.
The program works. I get the correct output in Intellij IDEA. Every condition fails. Why is it not validating?
13.07.2019
1038
views
1
comment
0
Nnaemeka
Level 8
Lagos
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
Help I cannot resolve this
All but the first two conditions have not been met, what could be the problem?
13.07.2019
1201
views
3
comments
0
Benjamin Winchester
Level 17
Savannah
Question about the task
Sorting even numbers from a file
Java Core
,
Level 3
,
Lesson 11
Archived
Help please
Not sure what Im doing wrong. I think Im not reading in the list correctly. Ignore the test tab, I created that in IntelliJ to try to test it.
28.11.2018
1817
views
5
comments
1
Kunal Kushwaha
Level 2
Mumbai
Question about the task
Pets need people
Java Syntax
,
Level 2
,
Lesson 5
Under discussion
I didn't understand what they wants to say
Need help
10.06.2019
1271
views
1
comment
0
karina abad
Level 11
Daly City
Question about the task
Improving functionality
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
How can I improve my code? I need help understanding how to efficiently do min/max with swaps
package com.codegym.task.task05.task0531; import java.io.BufferedReader; import java.io.InputStreamReader; /* Improving functionality */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReade
11.07.2019
1582
views
2
comments
0
Jay
Level 17
Washington
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
Can't figure this out
I changed my code several times after reading discussions but I'm still stuck. How do I solve this problem!!???
12.07.2019
1005
views
4
comments
0
Nitin raj
Level 12
Mumbai
Question about the task
To the top of the list
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Kindly please someone explain the 2nd requirement
Help me guyzzzzz
11.07.2019
1404
views
2
comments
0
Antonia
Level 10
Question about the task
Implement the fight method
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
help me?
wrong
12.07.2019
1480
views
1
comment
0
Prahlad Singh
Level 6
Mumbai
Question about the task
Even numbers
Java Syntax
,
Level 4
,
Lesson 13
Resolved
q
what is prblm in this?
16.09.2018
1984
views
2
comments
0
Vijay Rangan
Level 5
Jakarta
Question about the task
Cat register
Java Syntax
,
Level 4
,
Lesson 2
Resolved
why its not getting increment :(
I have no error in this program and i have also did increment operation but it is not working ...if i use Cat.addNewCat its throwing error
14.10.2018
2051
views
4
comments
1
Divyansh
Level 4
Mathura
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
HELP PLEASE !
Where is the problem? when i change int into double at some places it wont even compile !
08.07.2019
1446
views
2
comments
0
Hrishikesh Kalita
Level 8
Guwahati
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Issues with Yellow and Green
Green is ok, Issues with Yellow and Green. package com.codegym.task.task04.task0416; /* Crossing the road blindly */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new Buf
01.07.2019
1420
views
2
comments
0
Jacob
Level 6
Warsaw
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
Last one
Have a problem with the last one, I read something about the "counter" but I dont know how to use that in this code?
02.07.2019
1425
views
4
comments
0
Mateo
Level 26
Zagreb
Question about the task
Minesweeper (Part 6/16)
Games
,
Level 0
,
Lesson 0
Resolved
Task not verifying
if anybody also has a tip for better way of counting mines around field feel free to share
12.07.2019
1732
views
2
comments
0
Bazsó Benjámin
Level 20
Szombathely
Question about the task
What's today's date?
Java Syntax
,
Level 9
,
Lesson 11
Resolved
why not validate?
i cant find what am i missing here?
07.04.2019
1874
views
1
comment
1
Denis
Level 22
Kharkiv
Question about the task
ATM
Java Core
,
Level 7
,
Lesson 10
Under discussion
Last condition pls
Need help
28.06.2019
1227
views
1
comment
0
Raj kumar
Level 10
Delhi
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Resolved
Help!!!
What's the error in the code..
08.07.2019
1502
views
4
comments
0
Tangerin
Level 27
Chongqing
Question about the task
A scary fairy tale
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
That's not fair!
Why the woodcutter didn't rescue the grandma and the hood out of the wolf's stomach!
06.07.2019
1381
views
1
comment
1
vish
Level 3
Bangalore
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
I'm getting last error, i tried couldn't solve.
/* What's wrong with this */ public class Solution { public static void main(String[] args) { hackSalary(7000); } public static void hackSalary(int a) { a = 7000+1000; System.out.println("your salary is:" + " " + a + " " + "dollars per month."); } }
11.07.2019
1665
views
2
comments
2
Rupa Joshi
Level 29
Tokyo
Question about the task
Reading a file
Java Core
,
Level 3
,
Lesson 11
Archived
What is wrong with the code? can anyone tell me?
I am getting an error as its displays too many line when I try to verify and fails to verify the third condition.
11.07.2019
1403
views
2
comments
0
Show more
1
...
298
299
300
301
302
...
371
Please enable JavaScript to continue using this application.