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
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;
01.09.2018
2381
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?
23.04.2020
773
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....
22.04.2020
850
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?
21.04.2020
1200
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
16.04.2019
1639
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...
23.04.2020
864
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?
26.06.2019
1538
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?
07.09.2019
1887
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
22.04.2020
873
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
19.04.2020
1135
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.
23.03.2020
1325
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.
20.04.2020
931
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 (︺︹︺)
21.04.2020
1567
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
23.02.2020
1282
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
28.06.2019
1561
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 😐❓
19.04.2020
1094
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
22.04.2020
825
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.
05.01.2020
1154
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
20.03.2020
1247
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!
22.04.2020
776
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
03.04.2020
1011
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..
27.02.2020
961
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
22.04.2020
996
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.
01.05.2019
1778
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?
??
17.04.2020
1012
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.
21.04.2020
1180
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?
21.04.2020
967
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...
09.02.2020
1073
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
29.11.2019
1526
views
4
comments
0
Jonathan
Level 9
Wakiso
Question about the task
Crazy eights
Java Syntax
,
Level 2
,
Lesson 5
Resolved
patience
I tried 5 times for a very small mistake of writing lower case c instead of C
14.04.2020
1060
views
3
comments
0
Show more
1
...
205
206
207
208
209
...
371
Please enable JavaScript to continue using this application.