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
Jeremy Simons
Level 7
Peterborough, Cambridgeshire, UK
Question about the task
Console-based piggy bank
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
I can't get it to print outside of the loop?
I can't get it to print outside of the loop?
18.08.2019
1264
views
2
comments
0
Ciro Wan
Level 2
Oyama
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Guys please tell me what is wrong about my code.
Thanks in advance.
23.07.2019
1447
views
2
comments
2
Bryce Lindley
Level 9
Olympia
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
even two digit number error
Any suggestions tips, and or reasons the even two digit is not working? I'm assuming it has to do with the else if's Thanks :)
28.08.2019
1508
views
2
comments
0
RKVengatesh
Level 12
Tirunelveli
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Got correct results....But error in verifying last condition.......Any one help...
Any one help ....Answer is correct but what is wrong ....?Why there is an error showing...?
20.11.2018
1750
views
3
comments
0
Brett Politzer
Level 5
Mililani
Question about the task
Minesweeper (Part 4/16)
Games
,
Level 0
,
Lesson 0
Under discussion
Failed the task condition populate each cell of the gameField array with a new GameObject object
My code fails the following task condition: In the createGame method(), you need to populate each cell of the gameField array with a new GameObject object with corresponding x and y coordinates. Why doesn't line 14 in MinesweeperGame.java meet this condition ?
27.08.2019
1633
views
2
comments
0
deemneem
Level 11
Mumbai
Question about the task
The code won't compile…
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
while loop semicolon removed destination changed to source
help
28.08.2019
1592
views
1
comment
0
Cheikh
Level 7
Dakar
Question about the task
Roy G. Biv…
Java Syntax
,
Level 3
,
Lesson 6
Resolved
Resolved it but still don't understand
Hello guys, For this task, I don't get the fact that you don't need to call for the method inside the classes For example in this Red class: public static class Red{ public Red(){ System.out.println("Red"); } } What would happen if we didn't just display a phrase but had to return a value? Would
17.08.2019
1682
views
2
comments
0
JeRiF94
Level 22
Baku
Question about the task
CRUD
Java Core
,
Level 7
,
Lesson 10
Under discussion
I am not understandin
I am in trouble about 2 weeks and I can't solve this tasks.
12.06.2019
1158
views
1
comment
0
Arvind Prakhar
Level 7
Dhanbad
Question about the task
Constructor
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
plzzz!!!!!
helpp
09.11.2018
1457
views
2
comments
0
hacks patel
Level 20
Ahmedabad
Question about the task
Constructor
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
i can't understand ....anything
i can't understand ....anything
18.12.2018
1642
views
3
comments
0
Denis
Level 22
Kharkiv
Question about the task
Everything ingenious is simple!
Java Multithreading
,
Level 1
,
Lesson 2
Under discussion
Help me pls
Need help
30.06.2019
1321
views
2
comments
0
Henry
Level 6
Stuttgart
Question about the task
Crazy eights
Java Syntax
,
Level 2
,
Lesson 5
Resolved
How do i resolve this. I did it this way,it say too many variables and i did it just the first two examples: Cat cat2= new Cat(); the Cat cat3; using the same pattern 8 times then went further to create to additional variables,it still didnt work. Who can give me another idea because i do not know w
How do i resolve this. I did it this way,it say too many variables and i did it like the first two examples already in the main method: Cat cat2= new Cat(); the Cat cat3; using the same pattern 8 times then went further to create to additional variables,it still didnt work. Who can give me another i
28.08.2019
1289
views
1
comment
0
Rupa Joshi
Level 29
Tokyo
Question about the task
Picking out numbers
Java Core
,
Level 9
,
Lesson 5
Under discussion
solution is not verified.
Can anyone point it out why?
28.08.2019
1441
views
4
comments
0
Mykhailo Kuvshynov
Level 8
Dnipro
Question about the task
Implement the fight method
Java Syntax
,
Level 5
,
Lesson 5
Resolved
Help me please
can't find where is problem
23.08.2019
1619
views
3
comments
0
Mykola
Level 14
Toronto
Question about the task
Minimum of N numbers
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Can't pass one verification
This step is throwing an error. "The getIntegerList() method should read the number N from the keyboard and then return a list of N elements, which has been filled with numbers read from the keyboard." Any suggestion what am I missing at this step. Thank you.
20.08.2019
1542
views
2
comments
0
Anusha Govindarajan
Level 7
Amsterdam
Question about the task
String array in reverse order
Java Syntax
,
Level 7
,
Lesson 4
Resolved
I seem to get the correct output but task requirements are not met.
public class Solution { public static void main(String[] args) throws Exception { //write your code here String[] arr = new String[10]; BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); //String s = reader.readLine(); for(int i
26.08.2019
1278
views
3
comments
0
Au Ivan
Level 17
Hong Kong
Question about the task
Sum of the digits of a three-digit number
Java Syntax
,
Level 3
,
Lesson 12
Resolved
The outcome is correct, but....
What is the problem? The output fits the answer, but why is the task not complete?
25.08.2019
1568
views
2
comments
0
Rama
Level 3
Ottawa
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Syntax error help?
Please help where I made the error. unable to figure it out:
22.08.2019
1265
views
3
comments
0
Travis Cuevas
Level 3
Bedminster
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
why
what am i doing wrong?
08.08.2019
1049
views
3
comments
0
Anusha Sallas
Level 2
Kalpetta
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
What is wrong with with my code
Can u pls solve this
01.06.2019
1491
views
4
comments
0
hidden #10426395
Level 2
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Who can help guys?
Hey guys, I'm new to java and I don't know how to make this converter work. It looks complicated. Perhaps anybody can explain me how to do it?
23.02.2019
1630
views
3
comments
0
Prabhanjan Pandey
Level 2
pune
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
please tell the mistake in my code
package com.codegym.task.task02.task0216; /* Minimum of three numbers */ public class Solution { public static int min(int a, int b, int c) { int d; if(a<=b&&a<=c) d=a; else if(b<=a&&b<=c) d=b; else if(c<=a&&a
13.08.2018
1959
views
6
comments
0
Marcin
Level 8
Warsaw
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
Requirements are met but won't verify
The code is working, but I can't verify the task. What's wrong?
16.08.2019
945
views
1
comment
0
jorge ives murillo paredes
Level 40
New York City
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
What is wrong ?
public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader ( new InputStreamReader ( System.in ) ); for (int a = 0;a < 5;a++) { strings.add ( reader.readLine () ); } int max = st
21.08.2019
957
views
1
comment
0
Mukesh Vudayagiri
Level 10
Ferokh
Question about the task
Cat code won't compile
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
What's wrong?
The compiler is showing: java.lang.NumberFormatException: Solution.java, method main, line: 21. what is wrong here? Also please explain my other mistakes. Thanks.
09.09.2018
2172
views
16
comments
0
Matjes
Level 12
Prague
Question about the task
String array in reverse order
Java Syntax
,
Level 7
,
Lesson 4
Resolved
Cannot pass the last condition
Hi Guys, Can you please help me? I am missing the last condition and don't know how to go further. This is what I get as output when entering numbers from 1 to 8 as input: 1 2 3 4 5 6 7 8 null null 8 7 6 5 4 3 2 1 Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1 at com.c
27.08.2019
1365
views
3
comments
0
ddi
Level 18
Dortmund
Question about the task
Sorting even numbers from a file
Java Core
,
Level 3
,
Lesson 11
Archived
unreported exception java.io.IOException; must be caught or declared to be thrown String filename = reader.readLine(); HELP!
I am receiving this failure: unreported exception java.io.IOException; must be caught or declared to be thrown String filename = reader.readLine(); And i don´t understand where the problems is... Can someone help me?
26.08.2019
3686
views
6
comments
0
Avinash Rana
Level 7
Kolkata
Question about the task
Expressing ourselves more concisely
Java Syntax
,
Level 7
,
Lesson 6
Archived
Whats the problem?
As per me everything is correct.
26.08.2019
1128
views
2
comments
0
Jay
Level 17
Washington
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Under discussion
Creating separate file
Maybe I'm missing the obvious, but how do I create and save the classes into separate files on the CodeGym website?
17.08.2019
1034
views
1
comment
0
Pawan Harde
Level 4
Mumbai
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
last condition not fullfilled
idk how..../////////
21.09.2018
1474
views
7
comments
1
Show more
1
...
283
284
285
286
287
...
371
Please enable JavaScript to continue using this application.