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
Prassha
Level 24
Chagford
Question about the task
How do you serialize Singleton?
Java Core
,
Level 10
,
Lesson 4
Under discussion
Please help me to understand the different between returning object and Singlton
private Object readResolve(){ return ourInstance; } And private Singlton readResolve(){ return ourInstance; } when i used Singlton as return type it is giving different value for singleton1 and singleton for bellow code Singleton singleton = deserializeSi
6/17/20
694
views
2
comments
0
AKA
Level 18
Jieyang
Under discussion
I don't know how I fault
public class Solution { public static void main(String[] args) throws Exception { //在此编写你的代码 String[] arr=new String[10]; BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); for(int i=0;i<8;i++){ arr[i]=reader.readLine();
6/22/20
653
views
2
comments
0
Brad Reed
Level 19
Hartford
Question about the task
Creating cats
Java Syntax
,
Level 5
,
Lesson 9
Resolved
Help please;
I thought I did this correctly this time, but clearly not. I'm obviously missing something that I'm not seeing.
6/23/20
644
views
2
comments
0
Tata
Level 16
Hisar, Haryana
Question about the task
Minimum of N numbers
Java Syntax
,
Level 8
,
Lesson 11
Resolved
I'm getting error at line 39. It is showing unreachable statement.
please help....!!!
6/22/20
696
views
2
comments
0
Tata
Level 16
Hisar, Haryana
Question about the task
Let's put together a rectangle
Java Syntax
,
Level 5
,
Lesson 7
Resolved
may anyone explain this task to me. I'm confused please.
all answers will be appreciated. 😊
5/22/20
806
views
2
comments
0
Connor
Level 8
Boston
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Unsure of what the problem is here. Could anyone give me a hint?
I've looked through a lot of the other problems people have been having, and written and re written the code a few times just to get a fresh start after a new perspective. I thought this time I was correct. Lo and behold I am missing a piece of the puzzle. Thanks all you're a beautiful bunch
4/24/19
1409
views
2
comments
0
Antonia
Level 10
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Resolved
??????????????????????????
??
7/22/19
2064
views
6
comments
2
Seferi
Level 22
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Resolved
I don't understand why it fails...
Can anyone explain the reason? Thanks in advance
6/19/20
674
views
3
comments
0
Maxine Hammett
Level 19
San Diego
Question about the task
Improving functionality
Java Syntax
,
Level 5
,
Lesson 12
Resolved
If there are several minimum numbers return any of them?
Hi I have all tasks working accept task number 4. My code does take in 5 variables, and searches through each for the minumun number. The output's right "-79", but I'm still getting an error. Your help is appreciated.
6/23/20
772
views
1
comment
0
Deepak
Level 7
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Don't know what is wrong?
Can someone please help with the code. I am not getting anywhere with this
6/20/20
609
views
4
comments
0
Stephen Haokip
Level 8
imphal
Question about the task
Time for 10,000 insertions
Java Syntax
,
Level 8
,
Lesson 6
Resolved
m stuck here
i need guidance please
6/23/20
788
views
1
comment
0
Balen Asangbeh
Level 23
Douala
Question about the task
Overriding serialization
Java Core
,
Level 10
,
Lesson 7
Resolved
Pls what am I doing wrong
pls what am I doing wrong
4/6/19
2268
views
8
comments
1
Oliver Lutz
Level 18
Budapest
Question about the task
Overloading constructors
Java Core
,
Level 5
,
Lesson 12
Resolved
Help pls
i don't know what is wrong it says return type required or invalid method declaration
6/22/20
645
views
2
comments
0
Randall John
Level 19
San Jose
Question about the task
GCD
Java Core
,
Level 4
,
Lesson 8
Under discussion
Can't get exception throwing requirement to pass
Any input on why?
6/22/20
593
views
1
comment
0
Stephen Haokip
Level 8
imphal
Question about the task
HashMap of cats
Java Syntax
,
Level 8
,
Lesson 3
Resolved
m stuck
help me
6/22/20
785
views
2
comments
0
Ivan
Level 9
Uzhhorod
Question about the task
Number of days in the year
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
My code works, I checked it. Why codegym don't accept it?
My code works, I checked it. Why codegym don't accept it?
6/22/20
627
views
2
comments
0
jajaceek
Level 23
Warszawa
Question about the task
Number algorithms
Java Core
,
Level 10
,
Lesson 10
Under discussion
The program ran too long - Check your code. It looks like you have an infinite loop.
When I run the program all is ok but verification didn’t pass. The verification said that it was too long. Maybe any hint how to improve my solution?
4/29/20
1400
views
1
comment
0
andy 6473
Level 9
Bangalore
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Resolved
help me with this stupid program
public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader (System.in)); System.out.println ("Enter the amount of numbers to be scanned"); int n = Integer.parseInt ( reader.readLine () ); System.out.prin
6/18/20
591
views
1
comment
0
Jhoal
Level 22
Berlín
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
error while the program compiles
what I'm doing wrong? I'm having a mistake while the program compiles and I don't understand it :/ it says something like : Java.lang.NumberFormatException: null at Java.lang.Integer.parseInt...
6/22/20
946
views
1
comment
0
Erik Kristofer Anderson
Level 15
Chicago
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Looking for a solution with loops
Hi, I've solved this one, but I'm not super happy with the method I used. I just did manually wrote comparisons. I'd like to do it with two nested for loops, but I don't see a way to do that using only what we've learned so far. Any thoughts?
4/14/20
1479
views
8
comments
0
David
Level 26
Bucharest
Question about the task
Threads and bytes
Java Core
,
Level 8
,
Lesson 11
Under discussion
Please, Help! Can't pass one conditon
Thank you!!
6/20/20
768
views
10
comments
0
Tata
Level 16
Hisar, Haryana
Question about the task
Animal set
Java Syntax
,
Level 8
,
Lesson 11
Resolved
I'm getting error in join method...
please help to sort it out.🧐
6/21/20
699
views
3
comments
0
Stephen Haokip
Level 8
imphal
Question about the task
HashMap of 10 pairs
Java Syntax
,
Level 8
,
Lesson 3
Under discussion
m stuck
help needed
6/22/20
633
views
1
comment
0
Tessa Podbury
Level 18
Melbourne
Question about the task
CRUD 2
Java Core
,
Level 7
,
Lesson 10
Under discussion
Help with validation
Hey guys, just wondering if anyone can spot a bug in my code which isn't allowing validation? Thanks so much
6/21/20
688
views
1
comment
0
Ivan
Level 9
Uzhhorod
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
What is wrong in myne code?
What is wrong in myne code?
6/21/20
501
views
2
comments
0
Edddieg
Level 15
Providence
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
help please ...
its doing what its supposed to do.. im confused
6/22/20
1058
views
1
comment
0
Ian Rafferty
Level 13
Question about the task
Logging stack traces
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
seems to match
Not passing 3 of the requirements don't know why. Any help would be great thanks
6/19/20
570
views
3
comments
0
Stephen Haokip
Level 8
imphal
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Resolved
guys i have tested multiple times
everything seems fine for me. but the last condition is unsatisfied. any suggestion is needed please
6/21/20
490
views
3
comments
0
Divyansh
Level 4
Mathura
Question about the task
Currency exchange
Java Syntax
,
Level 3
,
Lesson 3
Resolved
Please Help !
Whats the problem !!??
7/8/19
1866
views
4
comments
0
Stephen Haokip
Level 8
imphal
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Resolved
last condition not met
plis help me
6/21/20
989
views
1
comment
0
Show more
1
...
178
179
180
181
182
...
374
Please enable JavaScript to continue using this application.