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
Lawson
Level 29
Lagos
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Pls I didn't get any of the tasks write...I need helo
The questions seem a little bit confusing
7/26/20
821
views
1
comment
0
hidden #10568956
Level 9
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Resolved
It works but it don't work.
My code does what is intended to do but some how i can't get one of the validation. >>>>>The program should display the number of positive numbers in the original set.<<<<<<
1/6/20
1492
views
6
comments
0
Jeremi Nuer
Level 7
San Francisco
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
Trying to initialize maximum so that it will incorporate all negative numbers.
At first, I was setting maximum as 0, and telling the program to only increase the maximum if the number was greater than 0. The problem became that when all the numbers are less than 0, nothing happens, the maximum stays at 0. No matter how low I set the maximum, this problem stays. The solution I
7/27/20
693
views
3
comments
0
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.
9/10/19
1664
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!
11/19/18
4118
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);
7/24/20
676
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.
7/27/20
569
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
4/24/20
1362
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...
6/18/20
977
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.
3/5/20
1259
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
7/27/20
575
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
7/27/20
773
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
7/13/20
590
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
1/6/20
960
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?
9/25/18
2867
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
10/17/19
1488
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.
1/18/19
1957
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.
4/26/20
1177
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.
6/12/20
610
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
7/26/20
584
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...
7/24/20
596
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...
7/4/20
720
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!
6/8/19
1694
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?
11/27/18
2882
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
7/25/20
460
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
7/21/20
637
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?
7/24/20
521
views
2
comments
0
Timothy Strickland
Level 6
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.
7/25/20
566
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...
7/24/20
843
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
7/14/20
585
views
2
comments
0
Show more
1
...
164
165
166
167
168
...
375
Please enable JavaScript to continue using this application.