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
Iliri Cani
Level 37
Tirana
Question about the task
RMI (part 2)
Java Collections
,
Level 2
,
Lesson 10
Under discussion
Whats wrong with this!!
last condition doesn't validate.
10.09.2019
1411
views
5
comments
0
Filip
Level 4
Karlovac
Question about the task
Sum of the digits of a three-digit number
Java Syntax
,
Level 3
,
Lesson 12
Under discussion
Sum of the digits of a three-digit number
Whats wrong with my code? Could anyone help!
19.11.2018
3476
views
13
comments
0
Hari
Level 8
Worcester
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
how to check condition for 0. I can't write x = 0 && y =0 && z=0
package com.codegym.task.task04.task0429; /* Positive and negative numbers */ import java.io.*; import java.util.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here Scanner scanner = new Scanner(System.in);
24.07.2020
403
views
4
comments
0
Mysnikol Miller
Level 7
Lutsen
Question about the task
Number of days in the year
Java Syntax
,
Level 4
,
Lesson 4
Resolved
The code works so WHY is it not validating?
I cannot figure out how to get this to validate. The code works.
27.07.2020
284
views
1
comment
0
joshua
Level 25
thorville
Question about the task
Snake (Part 9/20)
Games
,
Level 0
,
Lesson 1
Resolved
how is the last requirement not met!!!i don't understand...
can u explain
24.04.2020
994
views
12
comments
0
Seferi
Level 22
Question about the task
Initializing cats
Java Syntax
,
Level 5
,
Lesson 7
Resolved
Little help please...
We already did a similar (or exactly same) exercise.. I don't get why this doesn't work now...
18.06.2020
636
views
5
comments
0
hidden #10589341
Level 19
Question about the task
Safe retrieval from a list
Java Syntax
,
Level 10
,
Lesson 11
Resolved
What is wrong in my code????
I can not fine the better solution. Please help me !!! Thanks a lot.
05.03.2020
992
views
2
comments
1
George
Level 6
Chiajna
Question about the task
Do we have a pair?
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
all 3 are equal
I don't know what i did wrong here
27.07.2020
380
views
1
comment
0
flioletty
Level 7
Dolgoprudnyy
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
help pls
it writes "illegal start of expression" in line 27 and I totally dont understand whyyy
27.07.2020
509
views
2
comments
0
Brad Reed
Level 19
Hartford
Question about the task
Animal identification
Java Core
,
Level 2
,
Lesson 2
Resolved
Can’t use else....
No matter what I do I can’t get this to compile. If I leave the bottom part alone, incorrect values. If I use an else statement (or even else if) I get missing return statement }. When it’s clearly there. So then I tried doing instanceof, fo the end and it tells me that’s an unreachable statement. S
13.07.2020
390
views
1
comment
0
Niladri pradhan
Level 33
Mumbai
Question about the task
Restaurant (part 7)
Java Multithreading
,
Level 9
,
Lesson 15
Under discussion
Whats wrong
I don't understand why it didn't pass verification
06.01.2020
695
views
2
comments
0
Learner
Level 16
Question about the task
The code won't compile…
Java Syntax
,
Level 9
,
Lesson 11
Resolved
Program too too long and closed. What's wrong?
What am I missing here?
25.09.2018
2513
views
6
comments
1
Nicolas Huet
Level 41
Provins
Question about the task
Restaurant (part 5)
Java Multithreading
,
Level 9
,
Lesson 15
Archived
Please help :)
It seems that I fuflill the conditions, the output is correct. I don't know why this doesn't validate... If someone could point me the right direction so I can continue this big task that would be awsome! Thanks in advance
17.10.2019
1079
views
15
comments
0
Naina Sahu
Level 4
Mumbai
Question about the task
Part of a calculator
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
what is the code by declaring only two variables.
18.01.2019
1510
views
3
comments
0
BlueJavaBanana
Level 37
Question about the task
Array of string lists
Java Syntax
,
Level 10
,
Lesson 11
Resolved
Any deas why I am failing the first Requirements?
The program seems to function as expected. But it is failin to pass first requirement.
26.04.2020
898
views
3
comments
1
Sebastian Fyhr
Level 41
Stockholm
Question about the task
Number of letters
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
last condition...
Hi, Please assist me what cause the last condition to fail. I tried it without using a hasmap, just printing it on line 46 instead of adding to the Map.
12.06.2020
412
views
2
comments
1
hidden #10625598
Level 23
Question about the task
Hippodrome (part 15)
Java Multithreading
,
Level 1
,
Lesson 16
Under discussion
what should i display here if not this? line 39
26.07.2020
401
views
2
comments
0
王诗凯
Level 23
Redwood City
Question about the task
What's in the folder?
Java Collections
,
Level 1
,
Lesson 4
Resolved
Really need some help!
I test my code well on the local machine, how ever, it failed on the website and even didn't show which condition I hadn't match! Wired...
24.07.2020
375
views
3
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Encryption
Java Core
,
Level 8
,
Lesson 11
Under discussion
What is wrong with decryption?
need hint
19.04.2019
1222
views
3
comments
0
Seferi
Level 22
Question about the task
Census
Java Syntax
,
Level 8
,
Lesson 8
Resolved
What am I doing wrong?
Tried it with equals as well to no avail...
04.07.2020
524
views
1
comment
0
Jesús de Llera
Level 23
Badajoz
Question about the task
Building a file
Java Core
,
Level 8
,
Lesson 11
Resolved
Not all file input streams were closed??
Hi everyone, Apparently there is a stream that needs to be closed. It might be that I'm going blind or something but I can only see three streams in my code. Hope you can see the missing stream that is not being closed : | Thanks in advance!
08.06.2019
1337
views
2
comments
0
Filip
Level 4
Karlovac
Question about the task
Seasons on Terra
Java Syntax
,
Level 4
,
Lesson 4
Resolved
checkSeason method
What is wrong?
27.11.2018
2465
views
4
comments
0
hidden #10645646
Level 16
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Under discussion
Anyone else sick of the validator?
First of all, yes I know I added code but that was just to illustrate that the code works like it's supposed to. Here's the output I get: 25 I am a chicken. I come from Africa. I lay 25 eggs a month. 15 I am a chicken. I come from North America. I lay 15 eggs a month. 12 I am a chicken. I come fro
25.07.2020
264
views
1
comment
0
andy 6473
Level 9
Bangalore
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
What is wrong in my code
aasada
21.07.2020
457
views
2
comments
0
Maxine Hammett
Level 19
San Diego
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
number should also be displayed it must not be lost
I don't get what I'm doing wrong here. I have the code check if name is empty, if it is add to the hashmap "", id. Why am I getting number should also be displayed error?
24.07.2020
308
views
2
comments
0
Timothy Strickland
Level 14
Fairfax
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Need help
Code doesn't work, no idea as to why, doesn't print anything at all.
25.07.2020
371
views
2
comments
0
Brad Reed
Level 19
Hartford
Question about the task
Different methods for different types
Java Core
,
Level 5
,
Lesson 12
Resolved
Help.
Only the integer part of the task fails, everything else passes. not sure why the integer line fails. I've tried or (||) and and (&&) both fail. but everything else is fine...
24.07.2020
551
views
2
comments
0
Onome Brownly-Otiede
Level 9
Galway
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
pls help
I am still stuck with this task pls help
14.07.2020
386
views
2
comments
0
sagar
Level 7
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Can someone tell why is it showing error please?
expected '(' in 10th line
18.07.2020
427
views
4
comments
0
Madura Michael
Level 4
Mumbai
Question about the task
Maximum of four numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
need help please
what is wrong with my code
16.07.2020
275
views
1
comment
0
Show more
1
...
155
156
157
158
159
...
366
Please enable JavaScript to continue using this application.