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
dpp
Level 8
Colombo
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
I've input the code many times in many ways. What is wrong with this?
What's wrong with this?
4/20/19
1885
views
6
comments
0
zuber
Level 3
Pune
Question about the task
Minimum of two numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
help me to find out error
public static int min(int a, int b) { //write your code here int m; if (a>b) m = a; else // (a>b) m = b; return m;
9/1/18
2514
views
9
comments
3
Kamil
Level 31
Near Warsaw
Question about the task
Shortener (5)
Java Collections
,
Level 6
,
Lesson 15
Resolved
Is this a joke or something?
Codegym validation is taking the piss sometimes, literally. How'd get it to work?
4/23/20
901
views
3
comments
0
Dawid
Level 7
Nottingham
Question about the task
Changing functionality
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Not meeting ANY requirements.
Can someone help me please? Somehow it doesn't meet ANY requirements... even reading data from keyboard....
4/22/20
984
views
1
comment
0
SauceCode
Level 2
Johannesburg
Question about the task
2048 (Part 10/18)
Games
,
Level 0
,
Lesson 2
Resolved
It seems I can't solve the first requirement.
The rest of my code did satisfy all other requirements but not first. Any idea why?
4/21/20
1349
views
3
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Overriding serialization in a thread
Java Core
,
Level 10
,
Lesson 10
Under discussion
What is wrong in my code?
need help
4/16/19
1815
views
4
comments
0
Cam
Level 15
Bogota
Question about the task
Console-based piggy bank
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
i'm not sure
so I've been trying out several ways to resolve this task but I seem to always run into NumberFormatException.java:65 so I guess everything I'm trying is trying to convert the string "sum" to numbers and I'm not sure how to get rid of that issue...
4/23/20
999
views
2
comments
0
ddi
Level 18
Dortmund
Question about the task
HashMap of Objects
Java Syntax
,
Level 8
,
Lesson 3
Resolved
Completly lost... What should i do? Pls Help!
I don´t know how to resolve this and i am completly lost. How could i improve my knowledge about HashMap?
6/26/19
1682
views
3
comments
0
Ana Maria iacob
Level 7
Rimini
Question about the task
Good or bad?
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Someone explain me why doesn t work? pls
I don t understand why doesn t work?
9/7/19
2043
views
4
comments
0
Philip Obiorah
Level 16
Port - Harcourt
Question about the task
GCD
Java Core
,
Level 4
,
Lesson 8
Resolved
Help: second condition not verifying
package com.codegym.task.task14.task1420; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(Syste
4/22/20
1018
views
2
comments
0
Ntuthuko Xaba
Level 18
Johannesburg
Question about the task
Clew
Java Core
,
Level 6
,
Lesson 13
Under discussion
Confused !?
This is my code for this task after finding the answer in the help section. public void showWarning(){ this.stop(); } public void run(){ while(isAlive()){} } What I don't understand is , how does this thread ever call the showWarning method? Fro
4/19/20
1279
views
5
comments
0
Henry Yao
Level 22
Pasadena
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
What's wrong? please help
here is warnig, do not understand ! Be sure that you display the index of the first element that violates the order, and not its ordinal number. The first index is 0.
3/23/20
1556
views
3
comments
0
Michael Brimage
Level 19
Washington D.C.
Question about the task
File in a static block
Java Core
,
Level 5
,
Lesson 12
Under discussion
Help
I am getting the correct output but still not validating. I am using intelliJ.
4/20/20
1108
views
3
comments
2
hidden #10602322
Level 3
Question about the task
Pets need people
Java Syntax
,
Level 2
,
Lesson 5
Resolved
how to assign an owner?
cat.owner = woman; is we adding reference toto an object am correct please tell me. If I am wrong then correct me then tell me what is actually is (︺︹︺)
4/21/20
1733
views
2
comments
0
Mateusz
Level 36
Wroclaw
Question about the task
Archiver (part 17)
Java Multithreading
,
Level 7
,
Lesson 15
Resolved
Hi problem with solution :(
Hi guys, Help me with this task because I don't see any error(bug) and the program on my computer is working properly. If I verify my solution,then i will receive this error message (and a tip): error: "The addFiles method must write the new files as well as all of the old archive's files to the new
2/23/20
1454
views
2
comments
0
Denis
Level 22
Kharkiv
Question about the task
Superfluous synchronization
Java Core
,
Level 7
,
Lesson 10
Under discussion
Last condition pls
Help me
6/28/19
1704
views
4
comments
0
hidden #10602322
Level 3
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Resolved
print method
what is print method is how it implement 😐❓
4/19/20
1225
views
4
comments
0
Inderdeep Singh
Level 1
Toronto
Question about the task
2048 (Part 17/18)
Games
,
Level 0
,
Lesson 2
Under discussion
can't fulfill two conditions Please Help
i am not able to figure out the issue with the code
4/22/20
958
views
1
comment
0
yi
Level 20
Toronto
Question about the task
Arranging calls to join()
Java Core
,
Level 6
,
Lesson 5
Under discussion
What am I doing wrong ?
Can someone help with this ? Thx.
1/5/20
1284
views
3
comments
1
Satya Vath
Level 31
Vijayawada
Question about the task
2048 (Part 10/18)
Games
,
Level 0
,
Lesson 2
Under discussion
Help me
Not Able to verify
3/20/20
1374
views
1
comment
0
vaishnavi shrivastava
Level 13
bhopal
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
What is the problem
what is the problem here? It is showing problem in triangle is not possible!
4/22/20
924
views
1
comment
0
Anthony Chalk
Level 30
London
Question about the task
2048 (Part 18/18)
Games
,
Level 0
,
Lesson 2
Resolved
Bug in the game?
I've finished and implemented the game (here) However, there seems to be a couple of issues: 1) Tiles disappear randomly - after a few merges, the tile will just vanish; I haven't been able to get a tile above 32 before it vanishes 2) Can't see the score during the game Anyone else had these issues
4/3/20
1170
views
6
comments
0
Art
Level 13
Chisinau
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Can't understand 4th task
Explain the 4th task please..
2/27/20
1111
views
5
comments
0
Christian Djanea
Level 7
Mount Laurel
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
All, I need help with this task. Could anyone give me a hint? Thanks
All, I need help with this task. Could anyone give me a hint? Thanks
4/22/20
1147
views
1
comment
0
Kingsten Banh
Level 22
Newark
Question about the task
Reading and writing to a file: CodeGym
Java Core
,
Level 10
,
Lesson 2
Under discussion
The codeGym.equals(loadedObject) returns true, but never pass the test
I have the check for each property but somehow it still doesn't pass.
5/1/19
1935
views
2
comments
0
yz
Level 37
Jakarta
Question about the task
Shortener (14)
Java Collections
,
Level 6
,
Lesson 15
Resolved
is there any sneaky thing?
??
4/17/20
1155
views
2
comments
0
Bryce Lindley
Level 9
Olympia
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Resolved
last requirement not being met from toString() method.
I believe I need nested if statements but am having gathering brain matter solving this last scenario. Do I need to switch the order? Thank you.
4/21/20
1335
views
2
comments
0
Daniel
Level 15
Colnbrook
Question about the task
Reading a file
Java Core
,
Level 3
,
Lesson 11
Archived
"The program displays too few lines."
I tried print, println. Can't really figure it out. Any ideas?
4/21/20
1135
views
8
comments
0
Alexandre Lalancette
Level 41
Quebec
Question about the task
Using TreeSet
Java Collections
,
Level 6
,
Lesson 8
Under discussion
There's no first parameter... I get ArrayIndexOutOfBoundsException
Is there a bug in this task because it seems like there's no filename as the first parameter in the main method...
2/9/20
1237
views
2
comments
0
Vaibhavi
Level 5
Vijayawada
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Resolved
Please explain the below code where I am going wrong that entire loop is not getting printed
Please explain the below code where I am going wrong that entire loop is not getting printed
11/29/19
1677
views
4
comments
0
Show more
1
...
208
209
210
211
212
...
374
Please enable JavaScript to continue using this application.