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
Java 25
All quests
All levels
Any status
Questions about tasks
Hot
David Close
Level 17
London
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
what have i done wrong ?
correct output
11/1/20
585
views
2
comments
0
Dinesh
Level 7
Delhi
Under discussion
Compilation error
public class User { String name; short age; int height; // Write your code here public User(String name, short age, int height){ this.name=name; this.age=age; this.height=height; } public User(short age, int height, String name){ this.age=age;
11/1/20
755
views
7
comments
0
Alexandre Lalancette
Level 41
Quebec
Question about the task
Aggregator (part 8)
Java Collections
,
Level 8
,
Lesson 15
Resolved
Can't pass some of the requirements. I tried several solutions and nothing seems to work..
Can someone provide some hints on this one? Cheers!
2/17/20
1209
views
3
comments
2
Onome Brownly-Otiede
Level 9
Galway
Question about the task
Man and woman
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
please help me out
i tried for sooo long and i cant get it
10/30/20
538
views
2
comments
0
Vidya Pb
Level 5
Ernakulam
Question about the task
Snake (Part 6/20)
Games
,
Level 0
,
Lesson 1
Under discussion
Somebody help me why am I finding symbol not found error.
cannot find symbol symbol: class Game location: class com.codegym.games.snake.part06.Snake. file com/codegym/games/snake/part06/Snake.java, line 24, position 977 What's the mistake in the code that I am getting this error?
11/1/19
2025
views
4
comments
2
Dmitri
Level 22
Seversk
Question about the task
Set of cats
Java Syntax
,
Level 8
,
Lesson 11
Resolved
All conditions are met and the code is working fine.
All conditions are met and the code is working fine. What is wrong with the validator?
11/1/20
600
views
3
comments
0
David
Level 6
Paris
Question about the task
Build a tree (part 1)
Java Collections
,
Level 1
,
Lesson 15
Resolved
Help me
Someone can help me please to resolve the last step
10/31/20
479
views
2
comments
0
Tobias Gion
Level 5
Kronach
Question about the task
Minesweeper (Part 10/16)
Games
,
Level 0
,
Lesson 0
Under discussion
Can't meet the requirements
I would be happy if anyone could help me in finding a solution. My game works fine (both in the codegym IDE and local in VS Code). I don't think my solution is that far away from decent code (correct me please if iam wrong) but I can't get Codegym to accept my solution. I have tried to different app
10/31/20
995
views
6
comments
0
Tom ford
Level 15
Question about the task
Sorting even numbers from a file
Java Core
,
Level 3
,
Lesson 11
Resolved
Please help! Too may lines...
Can someone provide guidance on what I am doing wrong? I believe that I am reading the file incorrectly but cannot find the solution.
10/31/20
461
views
4
comments
0
David Haines
Level 13
La Crosse
Question about the task
Snake (Part 6/20)
Games
,
Level 0
,
Lesson 1
Resolved
could somebody please explain the issue?
validation fails with the following error message: The createGame() method must assign the created Snake object to the snake field. Isn't that what line 21 (snake.draw(this);) is supposed to accomplish?
10/30/20
1021
views
3
comments
0
yesnoyes
Level 5
Riga
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Resolved
why wont it print correctly?
package com.codegym.task.task04.task0436; /* Drawing a rectangle */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
10/30/20
647
views
2
comments
0
Pandurang Patil
Level 3
kolhapur
Under discussion
java screen , out put and string
java 1page and screen ,out put string not Page please help me
10/31/20
589
views
1
comment
0
Robby Wagner
Level 4
Tempe
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Resolved
"The displayed text must fully match the task conditions."
The output is correct, not sure why this is not passing the last condition. Any help???
7/10/20
992
views
6
comments
0
Tom ford
Level 15
Question about the task
Working with dates
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
What is wrong?
Code does exactly what is being requested.....
10/30/20
591
views
6
comments
0
Dinesh
Level 7
Delhi
Under discussion
( Lesson 1 Level 4 ) Tried to execute the code snippet on given concept as follows:- But didn`t get how to play with it programmatically
"If there are several visible (accessible) variables in our code – say, an instance variable and a local variable – the local variable will be accessed." class Main { public int count = 0; // Declare an instance variable public static void main(String[]args){ Main mn = new Main()
10/30/20
743
views
11
comments
0
Adam Ondrejkovic
Level 5
Copenhagen
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
Hi what is wrong with my code it works with all inputs that I use
if( a > 0){ int count = 1; if( b > 0){ count++; }else if(c > 0){ count++; } System.out.println(count); } if( a <= 0){ int count = 0; if( b > 0){
10/31/20
753
views
4
comments
0
Pandurang Patil
Level 3
kolhapur
Under discussion
lesson two not open please
help me too lessen not open
10/31/20
592
views
1
comment
0
Dinesh
Level 7
Delhi
Under discussion
javaFX application class must extend javafx.application.Application. I want to know about this stuff how and when to implement this
I was trying this piece of code but some how I just forgot to write (String [] args) in main() method It compiled fine. But when tried it to execute it gave the error as follows:-- Error: Main method not found in class Test, please define the main method as public static void m
10/31/20
2067
views
2
comments
0
Lex Icon
Level 17
Sofia
Question about the task
StringHelper class
Java Syntax
,
Level 6
,
Lesson 8
Resolved
Despite my code is right, validator doesn't accept my solution. [confirmed in Eclipse]
Two questions: 1. Why? 2. Could you give me some indirect tips to let me find the solution out by myself? TY in advance!
10/31/20
690
views
2
comments
0
Goran
Level 41
Belgrade
Question about the task
Iterating through a file tree
Java Collections
,
Level 1
,
Lesson 2
Archived
Correct result but not passing :/
Can anyone tell me what I did wrong ? Because if I test I am passing...
10/27/20
615
views
15
comments
0
Denil Pepa
Level 7
Munich
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Help?
I can't find what is wrong...Can anyone help me?
9/17/20
562
views
3
comments
1
Alexandre Lalancette
Level 41
Quebec
Question about the task
Implement annotations
Java Collections
,
Level 8
,
Lesson 10
Under discussion
I'll need some help on that one to make the compiler work!
It seems like I can't have a default value for enum field, or is it something else making the program not compile?
2/16/20
1121
views
3
comments
2
June Sung Park
Level 41
Yangp'yong
Question about the task
Exception factory
Java Collections
,
Level 8
,
Lesson 6
Under discussion
Can't pass the 5th condition even though the program ran without any error in IntelliJ.
CodeGym says, "It looks like the factory method handles the ApplicationExceptionMessage enum incorrectly." Could someone point out what can be corrected to pass the test?
9/5/20
626
views
1
comment
2
Dinesh
Level 7
Delhi
Under discussion
Can anybody provide me with crystal clear difference between method's parameter and argument. How both of them work ?
10/30/20
695
views
4
comments
0
Romain
Level 26
Paris
Resolved
Minesweeper (Part 14/16) - Où placer la variable score et la méthode setScore() ???
je n'arrive vraiment pas à trouver la solution --' package com.codegym.games.minesweeper; import com.codegym.engine.cell.Color; import com.codegym.engine.cell.Game; import java.util.ArrayList; import java.util.List; public class MinesweeperGame extends Game { private static final int SIDE =
10/30/20
817
views
8
comments
0
yesnoyes
Level 5
Riga
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Resolved
whats the problem ?
package com.codegym.task.task04.task0429; /* Positive and negative numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.
10/29/20
852
views
8
comments
0
Alban
Level 14
Kukes
Question about the task
Robot wars
Java Core
,
Level 3
,
Lesson 11
Under discussion
Helpp please ?
I'm so confused !! What I'm doing wrong
10/30/20
691
views
1
comment
0
Rafał
Level 35
Łódź
Question about the task
Arkanoid (part 13)
Java Multithreading
,
Level 3
,
Lesson 13
Under discussion
I have problems with understanding task.
Solutions please...
10/5/20
706
views
2
comments
0
raulGLD
Level 8
Cluj-Napoca
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Resolved
I get the right output, what's wrong?
So, I am getting the right output, but I still can't complete task 4. Please tell me why. Thank you!
10/30/20
639
views
2
comments
0
sourav bamotra
Level 20
jammu
Under discussion
huh :/
why we are provided with solution to all tasks in tip note. Hell no!! all this happening after the new update. Is this happening to everyone, especially who is using the codegym application on android phone.
10/29/20
670
views
2
comments
0
Show more
1
...
120
121
122
123
124
...
374
Please enable JavaScript to continue using this application.