Promotion
CodeGym University
Java FullStack
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
Liliane Top
Level 17
Amsterdam
Question about the task
Minesweeper (Part 7/16)
Games
,
Level 0
,
Lesson 0
Resolved
I do not understand the part of getting the number of mines of neigboring cells
if(!gameField[y][x].isMine){//if a cell has no mine for(GameObject cell : getNeighbors(gameField[y][x]))//I do not understand this part if(cell.isMine) cell.countMineNeighbors++;//if a cell has a mine //return the number of mines adjacent to this cell? I do not u
2/27/20
1446
views
7
comments
0
Michael Brimage
Level 19
Washington D.C.
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Resolved
Stuck for days
Hello, I have been stuck for days on this question pleas help me identify my problems. thanks in advance!
3/9/20
1034
views
3
comments
0
satish
Level 15
kadapa
Question about the task
Vowels and consonants
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
how should it to be done
????
5/31/19
1828
views
3
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Shared list
Java Core
,
Level 7
,
Lesson 10
Under discussion
Do i need all methods override? If i see it well there are about 40 methods
need help
3/5/19
1925
views
5
comments
1
Balen Asangbeh
Level 23
Douala
Question about the task
Externalizable Person
Java Core
,
Level 10
,
Lesson 7
Under discussion
pls what am I missing
pls what am I missing
4/6/19
1652
views
4
comments
0
Justin Johnson
Level 31
Clearwater
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
can someone please help me with this task
can someone help
12/23/19
1171
views
4
comments
0
Delonius
Level 20
Port Saint Lucie
Question about the task
Tracking changes
Java Core
,
Level 9
,
Lesson 11
Under discussion
Okay, I surrender.
As far as I can tell, my code functions exactly as it should, but I'm still not getting the validation. Help me Guadalupe, you're my only hope!
3/14/20
1144
views
1
comment
0
I.A
Level 7
unknown city
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
why not it printing parenti (mother) after parent(father).
package com.codegym.task.task06.task0621; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /* Cat relations */ public class Solution { //public Cat a=null; public static void main(String[] args) throws IOException { BufferedRead
3/13/20
1457
views
1
comment
0
Jakub Owsianka
Level 14
Warsaw
Under discussion
Why I have ony done one task? 2048 (Part 10/18)
Why I have ony done one task? What's wrong with moving left? TASK: 2048 (Part 10/18) • The moveLeft() method must move to the left and merge the elements of the gameField matrix in accordance with the rules of the game. • The moveLeft() method must call the compressRow(int[]) method at least once
3/10/20
1044
views
1
comment
0
Casey Keeling
Level 5
Amarillo
Question about the task
Drawing lines
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
Task won't complete
Can anyone tell me what I'm doing wrong in my solution?
3/16/20
965
views
4
comments
0
AnnemiekFF
Level 41
Breda
Question about the task
Introducing tags
Java Core
,
Level 9
,
Lesson 11
Resolved
I don't know what the problem is?
I have tried many things as you can see. I have it now working for both nested and unnested tags as far as I can tell, yet it still won't verify. Where is the problem?
3/11/20
1145
views
1
comment
0
Henry Yao
Level 22
Pasadena
Question about the task
Ascending numbers
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
not be able to pass the last requirement, please help!
the output correct, but still not be able to pass the last requirement. ??? Can someone point the erroes ? Thanks a lot!!!
3/15/20
1020
views
3
comments
0
catalinene
Level 29
Greven
Question about the task
Determine the network address
Java Multithreading
,
Level 1
,
Lesson 2
Resolved
How does this line work?
I came across the following solution for the print method, which seems to work and gives the corect output: public static void print(byte[] bytes) { String line =""; for (byte b1 : bytes){ String s1 = String.format("%8s", Integer.toBinaryString(b1 & 0xFF)).replace('
3/16/20
1764
views
1
comment
0
Henry Yao
Level 22
Pasadena
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
desc numbers shown correct on the screen, confuse
package com.codegym.task.task04.task0420; /* Sorting three numbers */ import java.util.Scanner; import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here Scanner sc = new Scanner(System.in); int a = sc.nextInt
3/9/20
1091
views
3
comments
0
imran khan
Level 6
islamabad
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
help
code is working for positive numbers but not working for negative numbers where is the problem
10/11/18
2818
views
10
comments
0
Ivan
Level 22
Nope
Question about the task
Adapting multiple interfaces
Java Core
,
Level 9
,
Lesson 3
Resolved
Where is the issue with my lines 53-57?
Where is the issue with my lines 53-57?
3/16/20
1297
views
7
comments
0
Michael Brimage
Level 19
Washington D.C.
Question about the task
20 words that start with the letter "L"
Java Syntax
,
Level 8
,
Lesson 8
Resolved
What's wrong?
I took the long way and manually added unique words. I don't know what the issue is. Please Help
3/13/20
1632
views
2
comments
0
hidden #10494390
Level 2
Question about the task
Vowels and consonants
Java Syntax
,
Level 9
,
Lesson 11
Resolved
Please help
Could you please help me to understand the issue with my code? While running, it, it should print out only 2 lines, but for me it is printing out more lines. Thank you for your help!
3/12/20
1334
views
4
comments
0
hidden #10494390
Level 2
Question about the task
Vowels and consonants
Java Syntax
,
Level 9
,
Lesson 11
Resolved
Issue with the second line
Could please someone help me to fulfill the "The second line should contain only the consonants and punctuation marks from the input string, separated by a space." condition? Thx!
3/14/20
1041
views
4
comments
0
Denis
Level 25
Vancouver
Question about the task
Find a substring
Java Multithreading
,
Level 2
,
Lesson 5
Under discussion
Can't pass the verification
the task is really simple, the code works, but I cant'n understand what is the problem.
6/10/19
1312
views
2
comments
0
Kent Hervey
Level 19
Question about the task
Let's make the code do something useful!
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
This very, very ugly bad code "works"
I get all green check marks, but I hacked my way in. How can I fix this so it actually looks like something import java.io.*; /* Let's make the code do something useful! */ public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = n
3/10/20
1189
views
4
comments
0
Sára Göblová
Level 26
Prague
Question about the task
Make a word chain
Java Multithreading
,
Level 2
,
Lesson 9
Resolved
I don't know what I'm missing
Seems to work
3/14/20
1300
views
3
comments
0
Anthony Chalk
Level 30
London
Question about the task
Shall we play?
Java Core
,
Level 6
,
Lesson 13
Resolved
Passed but not sure why
@Override public void run() { //write your code here while (!OnlineGame.isWinnerFound) { for (int i = 0; i < OnlineGame.actions.size(); i++) { try { System.out.println(this.getName() + ":" + Onlin
12/24/19
1547
views
2
comments
1
Adam Maichrzik
Level 22
Katowice
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
I can't pass one task condition. Can you help me?
Like in the title :) Hope you can help me, thanks!
1/31/20
1122
views
5
comments
0
Ted404
Level 11
Dubai
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Can you help me with this? What is wrong with the code?
package com.codegym.task.task07.task0713; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; /* Playing Javarella */ public class Solution { public static void main(String[] args) throws Exception { BufferedR
3/14/20
1263
views
2
comments
0
Fabian Andiel
Level 9
Vienna
Question about the task
IMF
Java Core
,
Level 7
,
Lesson 4
Under discussion
Please help point 4
Hi guys, why doesn't my synchronized block initialize the imf? What am I doing wrong? The synchronized block must initialize imf. Thanks in advance Fabian
2/20/20
1369
views
2
comments
2
Goran
Level 41
Belgrade
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Archived
output is correct but still not passing
I am getting correct output but still not passing can understand why ?
3/8/20
1279
views
7
comments
0
Liliane Top
Level 17
Amsterdam
Question about the task
Nice weather
Java Core
,
Level 3
,
Lesson 11
Resolved
Couple of questions in regards to this task
1) Can someone please refer me to another article or maybe tutorial as I am very confused about the usage of the keyword 'this'. I do understand that we use it in the constructor of the class Today but why do we have to use it in the return value of the getWeatherType() 2) How are they related to ea
3/14/20
1113
views
2
comments
0
Goran
Level 41
Belgrade
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Getting correct output
I am getting correct output with methods that are available to use. And still failing with task. Does anyone see error here ?
3/13/20
1208
views
9
comments
0
Aleksander
Level 41
Question about the task
Tetris (part 12)
Java Collections
,
Level 2
,
Lesson 15
Under discussion
Problem with GamePieceFactory class
Hello, I have a quesition about a task which is probably bugged A part of the task says: I've written the following methods for you: a) createRandomGamePiece() in GamePieceFactory b) run() in Tetris, where I can see nothing more added to this class which I think is thing that needs to be fixed. M
3/13/20
991
views
2
comments
0
Show more
1
...
224
225
226
227
228
...
374
Please enable JavaScript to continue using this application.