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
Liliane Top
Level 17
Amsterdam
Question about the task
Parameterized interface
Java Core
,
Level 3
,
Lesson 2
Resolved
What is requested
I do not understand the question. Can someone please explain to me what we are suppose to do here? The question is not clear at all.
07.03.2020
1089
views
12
comments
1
shovan
Level 22
Kolkata
Question about the task
Parameterized interface
Java Core
,
Level 3
,
Lesson 2
Resolved
please help
how to use string parameter in the interface implementation???
11.06.2019
1855
views
3
comments
1
AlfredW
Level 23
Denver
Question about the task
SimpleObject interface
Java Core
,
Level 3
,
Lesson 11
Under discussion
Ha ha I am completely clueless as to why this wont verify.
Ha ha I am completely clueless as to why this wont verify.
04.08.2020
488
views
3
comments
1
Pac-w
Level 22
Question about the task
Countdown at the races
Java Core
,
Level 6
,
Lesson 10
Under discussion
Thread interruption
I don't a get question i guess, because numSeconds never will be equals to 4. Please, help me to find solution for this task and tell me why it's not valid answer.
28.09.2021
314
views
3
comments
1
jajaceek
Level 23
Warszawa
Question about the task
Countdown at the races
Java Core
,
Level 6
,
Lesson 10
Resolved
Where is the problem? During Run is ok but during verification is not ok.
I don't know where is the problem. When I check by Run - the program prints "3 2 1 0 Go!" but during the verification its prints only "3 2 1 0" and i don't know how to solve the problem.
29.02.2020
767
views
1
comment
1
Jyothi
Level 20
Question about the task
Countdown at the races
Java Core
,
Level 6
,
Lesson 10
Resolved
task16.task1617 - Countdown at the races
Validation failing for race clock countdown by 1. cannot see where the problem is.
24.12.2018
1712
views
5
comments
1
Ramilya
Level 20
SPb
Question about the task
Countdown at the races
Java Core
,
Level 6
,
Lesson 10
Resolved
Task1617
Help, please. What's wrong in my code? Output in Idea is correct. Input: numSeconds = 3. Output: 3 2 1 Go! Input: numSeconds = 4. Output: 4 3 2 1 Interrupted!
02.05.2019
1440
views
2
comments
1
Jason
Level 16
Question about the task
Minesweeper (Part 7/16)
Games
,
Level 0
,
Lesson 0
Resolved
Can't pass openTile conditions
All works as expected, i tired passing both x,y and y,x and both work perfectly (as the game should) but i cannot pass the two openTile conditions. Any help is appreciated. I also tried leaving everything x,y except gameField[y][x].isMine and still no luck. private void openTile(int y, int
17.11.2019
1316
views
4
comments
1
Emre Erkaslan
Level 0
Istanbul
Question about the task
2048 (Part 6/18)
Games
,
Level 0
,
Lesson 2
Under discussion
Please help me
I examined and applied every question but it doesn't still work. (Second to last condition)
08.11.2020
601
views
1
comment
1
ddi
Level 18
Dortmund
Question about the task
Minesweeper (Part 13/16)
Games
,
Level 0
,
Lesson 0
Under discussion
Please explain it to me!
Why do i have this error : error: 'void' type not allowed here for(GameObject neighbor : getNeighbors(gameField[y][x])) { Line 172. I dont get its a for loop... why the error?
01.10.2019
997
views
1
comment
1
Brett Politzer
Level 5
Mililani
Question about the task
Minesweeper (Part 6/16)
Games
,
Level 0
,
Lesson 0
Under discussion
Where is getNeighbors() defined?
According to the conditions: "you now have the getNeighbors() method, which has one GameObject (cell) parameter." Accroding to the requirements: The countMineNeighbors() method should use the getNeighbors(GameObject gameObject) method. I don't see the getNeighbors method defined. Are we
28.08.2019
1874
views
2
comments
3
Oleksii Osypenko
Level 8
Warsaw
Question about the task
Minesweeper (Part 9/16)
Games
,
Level 0
,
Lesson 0
Resolved
Hello, how should i solve last requirements. Please help.
Hello, how should i solve last requirements. Please help. Thanks
07.11.2019
1569
views
2
comments
2
matemate123
Level 50
Kraków
Question about the task
AutoCloseable and try-with-resources
Java Multithreading
,
Level 1
,
Lesson 10
Resolved
Maybe it's lame question
public class Solution { public static void main(String[] args) { DBConnectionManager dbConnectionManager = new DBConnectionManager(); try (FakeConnection fakeConnection = dbConnectionManager.getFakeConnection()) { System.out.println("Entering body of try block.");
04.03.2023
207
views
3
comments
0
Kosmonaut45
Level 3
Question about the task
Minesweeper (Part 6/16)
Games
,
Level 0
,
Lesson 0
Under discussion
What am I doing wrong?
Hey, I was trying to count the neighbours around the mine, but I cannot get it to work. Could someone help me?
09.10.2019
1513
views
1
comment
2
remote87
Level 18
Sofia
Question about the task
Minesweeper (Part 6/16)
Games
,
Level 0
,
Lesson 0
Under discussion
I don't get
I have made my code as simple to follow as possible and in my head everything works fine and in the code looks OK, but still I get: - "The countMineNeighbors() method should, for each non-mined cell in the gameField matrix, count the number of adjacent mined cells and assign this value to the countM
03.04.2021
711
views
4
comments
1
GCPix
Level 15
Glasgow
Question about the task
Minesweeper (Part 6/16)
Games
,
Level 0
,
Lesson 0
Resolved
Where am I going wrong?
I am thinking I might have misunderstood requirements somewhere. I keep failing on the CountMyNeighbors method. In itself, it is fairly straight forward. Loop through each array object, if the object isn't mined get the surrounding objects. Because objects will not have a neighbour at each point
15.07.2019
2010
views
6
comments
3
satish
Level 15
kadapa
Question about the task
Minesweeper (Part 6/16)
Games
,
Level 0
,
Lesson 0
Under discussion
getNeighbour() is weather a inbuilt method
if not a inbuilt method how should to write
12.07.2019
1128
views
2
comments
1
Jon Hjerting
Level 20
Oslo
Question about the task
Minesweeper (Part 13/16)
Games
,
Level 0
,
Lesson 0
Under discussion
The openTile(int, int) method must decrease the countClosedTiles field by 1 if the gameField element's isOpen flag is set.
My method seems to work ok when I play the game. I am not sure why it is not passing. private void openTile(int x, int y) { // 3. The openTile(int, int) method must not do anything if the game is stopped (isGameStopped == true). if (isGameStopped) { return;
15.08.2019
1415
views
5
comments
1
Catherine
Level 23
London
Question about the task
Release resources
Java Multithreading
,
Level 1
,
Lesson 10
Under discussion
Please Help. I am very frustrated.
I have tried it on my own. I have read the article posted in another help query and done what I think that article directed (see code attached). And yet, I am getting the following error: com/codegym/task/task21/task2111/Solution.java:29: error: expected try (stmt = connection.createStatem
29.07.2020
403
views
4
comments
0
Mein Kaif
Level 7
Resolved
please point out the error
I tested this code in all possible variants on other IDEs, it works flawlessly. the result meets the requirements of the task. but why is it not accepted? please! it breaks my brain. he works!!!
04.03.2023
127
views
2
comments
0
hendra gunawan
Level 9
tebing tinggi
Question about the task
URL validation
Java Syntax
,
Level 9
,
Lesson 5
Under discussion
please help...
what's wrong with my code?
04.03.2023
148
views
1
comment
0
h laxman
Level 6
Bangalore
Question about the task
Minesweeper (Part 5/16)
Games
,
Level 0
,
Lesson 0
Under discussion
Not able to proceed
I'm not able to understand why the last condition is not getting satisfied
26.04.2020
841
views
2
comments
1
Benjamin Spoiden
Level 20
Liège
Question about the task
Minesweeper (Part 5/16)
Games
,
Level 0
,
Lesson 0
Resolved
Completely stuck
I absolutely don't understand why the last conditon isn't met. Can anyone help me ? Thanks.
27.08.2019
2104
views
8
comments
2
Romuald Ladwein
Level 1
France
Question about the task
Space Invaders (Part 3/34)
Games
,
Level 0
,
Lesson 6
Under discussion
Why GameObject class in package gameobjects doesn't work
package com.codegym.games.gameobjects; public class GameObject { public double x; public double y; public GameObject(double x, double y) { this.x = x; this.y = y; } }
16.06.2022
471
views
1
comment
1
matemate123
Level 50
Kraków
Question about the task
Deep cloning of a map
Java Multithreading
,
Level 1
,
Lesson 8
Resolved
I validate but don't get everything I thing
Console output is promising because I got "false" on equals two Solution objects, but "true" on hashcode. I understand it that hashcode is the same because it was copied, and equals return "false" because I got two different objects now. But why console result is: SOLUTION : com.codegym.task.task21
01.03.2023
201
views
2
comments
0
remote87
Level 18
Sofia
Question about the task
Nice weather
Java Core
,
Level 3
,
Lesson 11
Resolved
This really pisses me offf....
Ok, I am stupid, I am new to this, I get that....but what the heck?! According to this article ( that I read over and over again ) https://codegym.cc/groups/posts/104-the-difference-between-abstract-classes-and-interfaces " An interface only describes behavior. It has no state." Also: But if we tr
26.01.2021
389
views
5
comments
1
8iy6ui
Level 1
Gurgaon
New
gta6
/_uwushy2ehhdhdhrvydiebryehegegwghsudu sjsjjsbehh5hjjrjejydydjdjdydgd ejjdhhdhdbe. ehsgeve d6yeheywiwuehdjdjjsjsjsjshs0ui3kxhgxx safdarjungsssn+3($(($ 278#8$$)$!$isidishgsysysysysy s7eueuueueueueueuue73737e7e7e77e7e7eue77eue7ksksksbsvgzgdysjekjrhdurie suisisjdheheusuejhshdhsjueieiieieieueieieyhe
01.03.2023
115
views
0
comments
0
8iy6ui
Level 1
Gurgaon
New
273366666
)widow +jueet3. 1soham. 2747484. pc. 1 gB. )u uddouhdjs){iiwss$=€212677. vvsui. ta6. mmobile )/ueieeeewuyys swkkkkllhuwa hwsjeeee jeebbbed usui eek e open 🕐 ok6. you. ueuehe jrurirj ejkr. ekje rjkr ke t rken trnvrvr he. jeh e e57 dekh u 68okmb. bvffe5767in e57 i. dr 7k d
01.03.2023
137
views
0
comments
0
matemate123
Level 50
Kraków
Question about the task
Word search
Java Core
,
Level 10
,
Lesson 10
Resolved
Tell me am I thinking right?
Now I have method that return one word when I search for it , e.g System.out.println(detectAllWords(wordSearch, "same")); I get back only one directories, but I have three words "same" in table now. It's the problem? Have I good understanding, that I need return every word from crossword? If you
25.02.2023
307
views
8
comments
0
Raisa Toscano
Level 22
Tepic
Question about the task
All that moves
Java Core
,
Level 3
,
Lesson 2
Resolved
what am I missing...
interface CanMove { double speed(); } interface CanFly extends CanMove { CanFly speed(CanFly fly); }
09.01.2019
1949
views
3
comments
1
Show more
1
...
21
22
23
24
25
...
366
Please enable JavaScript to continue using this application.