Promotion
CodeGym University
Learning
Course
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
hidden #10639305
Level 7
Question about the task
Snake (Part 2/20)
Games
,
Level 0
,
Lesson 1
Under discussion
What's wrong with this??? I don't understand(( help me, please
package com.codegym.games.snake; import com.codegym.engine.cell.*; public class SnakeGame extends Game { public static final int WIDTH = 15; public static final int HEIGHT = 15; public void initialize(){ setScreenSize(WIDTH,HEIGHT); createGame(); } public
09.07.2020
509
views
2
comments
0
David Haines
Level 13
La Crosse
Question about the task
2048 (Part 15/18)
Games
,
Level 0
,
Lesson 2
Resolved
Fourth task is failing. Can somebody please explain why?
Final task is failing with the following error: The onKeyPress(Key) method must call the gameOver() method and do nothing else, if the canUserMove() method returns false. Recommendation from your mentor: Be sure that the gameOver() method is called if the canUserMove() method returns false.
20.10.2020
294
views
2
comments
0
Seferi
Level 22
Question about the task
Prices
Java Core
,
Level 8
,
Lesson 11
Resolved
Help is appreciated
I did a few tests and it seems to be working fine but it fails one of the tests..
19.10.2020
417
views
8
comments
0
Michał
Level 41
Krakow
Question about the task
A switch for threads
Java Multithreading
,
Level 5
,
Lesson 5
Under discussion
What should I do here?
I totally don't understand why this solution is wrong. What does the 5th requirement mean if not what I've already done? I'm out of ideas. I'd appreciate your help.
17.10.2020
451
views
4
comments
0
Liliane Top
Level 17
Amsterdam
Question about the task
Snake (Part 18/20)
Games
,
Level 0
,
Lesson 1
Resolved
reposting same question
Tried and copied and tried but no idea what is actually requested. Where do I go wrong in my thinking?
01.03.2020
937
views
2
comments
0
Sandy
Level 0
Question about the task
Space Invaders (Part 4/34)
Games
,
Level 0
,
Lesson 6
Under discussion
Help!
Can someone help me with this requirement? In the drawField(Game) method, call the draw(Game) method on each object in the stars list. Pass "this" to the method. I don't understand what i have to do.
20.10.2020
317
views
2
comments
0
Timothy Chan
Level 11
Hong Kong
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Resolved
Can't meet the fifth requirement
Output is correct but can't meet the fifth requirement. Please help. Thanks.
19.10.2020
402
views
4
comments
0
Anitamalina
Level 18
København
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
comma input vs period input
Hm.. I can't make my code work with the input of "2.5", but it works for "2,5" - do you use the wrong data type for my scanner? I have tried float and long also.. what else can I do?
20.10.2020
534
views
1
comment
0
Guanting Liu
Level 16
Springfield
Question about the task
Improving functionality
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
I don't understand why we should try to dothis question here,if people are not familar with recursion,they have a hard time to do this for sure XD.
public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int a = Integer.parseInt(reader.readLine()); int b = Integer.parseInt(reader.readLine()); int c = Integ
19.10.2020
362
views
2
comments
0
Weldon Patterson
Level 13
Roswell
Question about the task
The isomorphs are coming
Java Core
,
Level 2
,
Lesson 12
Under discussion
What is the validation looking for?
The task fails this requirement: The getMinimumAndIndex() method must return the minimum of the array and its position (index). The code is returning the correct values.
19.10.2020
521
views
5
comments
0
Manish Sinha
Level 26
london
Question about the task
Inner
Java Multithreading
,
Level 3
,
Lesson 4
Resolved
not sure, what their requirement is.
pls. help. thank you
19.10.2020
370
views
2
comments
0
Alexandre Lalancette
Level 41
Quebec
Question about the task
What is ClassLoader?
Java Collections
,
Level 5
,
Lesson 10
Under discussion
I'm a little lost here! Can someone give me a hint?
I'm a little lost here! Can someone give me a hint?
08.02.2020
914
views
1
comment
2
Anitamalina
Level 18
København
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Resolved
what is wrong?
I get the right output.. ?
18.10.2020
466
views
2
comments
0
Erextor
Level 9
Moscow
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
what's wrong in my code, I don't understsnd
package com.codegym.task.task04.task0415;
19.10.2020
325
views
2
comments
0
Timothy Chan
Level 11
Hong Kong
Question about the task
Streets and houses
Java Syntax
,
Level 7
,
Lesson 4
Archived
Can't make the 3rd and 4th requirements
Not sure what do I do wrong. Thanks in advance!!
19.10.2020
402
views
4
comments
0
Abhimanyu Yadav
Level 3
u can't c me
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Resolved
The main method wasn't assigned the string value
I didn't understand when did we defined main value as equal to String S.
17.10.2020
594
views
3
comments
0
AlfredW
Level 23
Denver
Question about the task
Even characters
Java Core
,
Level 9
,
Lesson 5
Under discussion
What are they asking for? ACSII numbers do not match with their output example.
I don't get what they are asking for here. It makes no sense. An ordinal number is a positional number. ACSII numbers are not really positional, but if that is what we are looking at none of the results they give make any sense.
17.10.2020
490
views
7
comments
0
Hashirama
Level 26
Port-Harcourt
Question about the task
Arkanoid (part 8)
Java Multithreading
,
Level 3
,
Lesson 13
Under discussion
How do i write the intersects method?
?
29.07.2019
2197
views
12
comments
0
Prashant Vishwakarma
Level 12
Mumbai
Question about the task
Catching custom exceptions
Java Syntax
,
Level 9
,
Lesson 8
Under discussion
I don't understand
catch block in main method
19.10.2020
461
views
1
comment
0
Alban
Level 14
Kukes
Question about the task
Climb, fly, and run
Java Core
,
Level 2
,
Lesson 12
Under discussion
Why wrong ?
Please help !!!
19.10.2020
534
views
1
comment
0
Abhimanyu Yadav
Level 3
u can't c me
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
unable to figure out why my double quote is missing
unable to figure out why my double quote is missing
19.10.2020
443
views
1
comment
0
Chris
Level 19
Newark
Question about the task
Changing functionality
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Hey guys I almost got this one.
It prints out the way the example is shown but then the program terminates. How do I get it to not terminate? I'm not sure if that's part of the task because it doesn't specify but everything seems fine when I run it.
08.10.2020
509
views
5
comments
0
Laurap5
Level 9
Vilnius
Question about the task
Fixing the mistakes of youth
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
Please help
I am receiving the correct answer, but the system does not accept it.:(
28.11.2018
1790
views
13
comments
0
hidden #10424566
Level 7
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
AM STUCK
My head just can't help to think more that this.
07.02.2019
1566
views
19
comments
0
shis1011
Level 8
Question about the task
To the top of the list
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
i have a question!!
can anybody explain me please why the final output is coming in a reverse order??
18.10.2020
277
views
2
comments
0
sergio
Level 7
Colorado
Question about the task
Boss, something weird is happening
Java Syntax
,
Level 5
,
Lesson 12
Resolved
please help
I cannot get the last condition to pass.
18.10.2020
470
views
3
comments
0
Manish Sinha
Level 26
london
Question about the task
Introducing properties
Java Core
,
Level 10
,
Lesson 2
Resolved
Please help in knowing what validation is failing in the task.
Hi Team, Please help me to find the validation errors as i could not able to find one. Regards, Manish
11.06.2020
484
views
3
comments
0
Steve
Level 22
Carrollton
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Unable to fulfill last requirement
I seem to be failing the last requirement, but I can't see where the flaw is in my code. I did face an issue with being forced to use Calendar because I kept getting a message that getMonth was deprecated. I don't know if that's where the error is, or if it's the removal of the key itself. Thanks in
18.10.2020
411
views
4
comments
0
AlfredW
Level 23
Denver
Question about the task
Counting words
Java Core
,
Level 9
,
Lesson 5
Resolved
I am getting correct results but it won't verify.
I am getting correct results but it won't verify. Not sure what I am missing, Verifyer is saying that I am not getting all cases of "world".
18.10.2020
452
views
4
comments
0
Dinesh
Level 7
Delhi
Question about the task
One cat isn't enough
Java Syntax
,
Level 2
,
Lesson 3
Under discussion
Something interesting happened when trying to print Unable to understand
public class Solution { public static void main(String[] args) { //write your code here Cat cat1 = new Cat(); Cat cat2 = new Cat(); System.out.println(cat1); // This gives output as the memory address of the object } public static class Cat { Syste
18.10.2020
417
views
2
comments
0
Show more
1
...
116
117
118
119
120
...
366
Please enable JavaScript to continue using this application.