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
Nakul Sehgal
Level 9
New Delhi
Question about the task
Good or bad?
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
How did we use method compare directly instead of creating an object?
We called the compare() method directly in main() method. Should we not have created an object first, through "Solution solution = new Solution();" and used the compare method like this: solution.compare(3); solution.compare(6); solution.compare(5);
4/10/20
1116
views
2
comments
0
hidden #10362262
Level 9
Question about the task
Good or bad?
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Code runs but What is wrong with the formatting of the answer?
I am running this successfully offsite and I don't know what the test is looking for. Can someone please help me to figure out why my output is not acceptable? Thank you.
10/26/18
2477
views
9
comments
0
Dave Andrea
Level 41
Question about the task
Chat (part 22)
Java Multithreading
,
Level 6
,
Lesson 15
Under discussion
I finished, but it still doesn't work. Could someone send me their solution to help me debug?
Hey guys, I got through all the steps and everything verified, but I have a bug somewhere that stops it from working properly. I don't want to ask someone to go through all my code (there's way too much for that), but I'd appreciate it if someone could perhaps send me their completed code so I cou
9/20/20
565
views
0
comments
0
sourav bamotra
Level 20
jammu
Question about the task
Order of loading variables
Java Core
,
Level 5
,
Lesson 12
Under discussion
passed the task but i still not get the use of "this" operator.
--> "printAllFields(this)" how is this "this" is working in place of Solution obj argument.
9/21/20
540
views
0
comments
0
Bhuvana Kumar
Level 14
Mumbai
Question about the task
Exceptions. Just exceptions.
Java Syntax
,
Level 9
,
Lesson 8
Under discussion
Error in com/codegym/task/task09/task0913/Solution.java on line 3 package jdk.internal.org.objectweb.asm.tree does not exist
Error in com/codegym/task/task09/task0913/Solution.java on line 3 package jdk.internal.org.objectweb.asm.tree does not exist why I am getting this error
9/23/20
561
views
0
comments
0
Dave Andrea
Level 41
Question about the task
Archiver (part 15)
Java Multithreading
,
Level 7
,
Lesson 15
Under discussion
Doesn't seem to work for nested directories
I passed the verification, but my solution got an error if I had any directories inside the zip file. I used the code from part 16 to check with my zip file and the same thing happens. So the updated corrected code they make us use doesn't work either. I wouldn't mind knowing why, but I also want to
9/24/20
585
views
0
comments
0
Youngsan
Level 41
Seoul
Question about the task
Make a word chain
Java Multithreading
,
Level 2
,
Lesson 9
Under discussion
Last two conditions were failed.
I got the right answer in IntelliJ, but failed last two requirements. Pls help.
9/24/20
615
views
0
comments
0
Lawson
Level 29
Lagos
Question about the task
How to avoid Copy+Paste
Java Multithreading
,
Level 4
,
Lesson 6
Under discussion
Pls help
The output is correct but not validating
9/26/20
559
views
0
comments
0
Russell
Level 2
Galmpton, Brixham
Question about the task
Minesweeper (Part 16/16)
Games
,
Level 0
,
Lesson 0
Under discussion
unable to publish
Game is competed and has varified so am unable to post the code here, however, I am having a problem whereby the game will not publish. It runs fine, all works perfectly, but when i try to publish it publically, i get a publish error
9/27/20
432
views
0
comments
0
sourav bamotra
Level 20
jammu
Question about the task
Following a pattern
Java Core
,
Level 6
,
Lesson 13
Under discussion
masters i need little help
how can i use System.currentTimeMillis() for checking how long the CountupRunnable and CountdownRunnable run? I'm actually confused how placing the "Thread.sleep(500)". before the if statement made my task to get pass.
9/28/20
441
views
0
comments
0
Berkay Gültekin
Level 1
Question about the task
Introducing tags
Java Core
,
Level 9
,
Lesson 11
Under discussion
I still struggle even I checked the help section...
Help
9/28/20
524
views
0
comments
0
isaacfibo
Level 24
Huntington
Question about the task
Reading and writing to a file: CodeGym
Java Core
,
Level 10
,
Lesson 2
Under discussion
What exception occurs?
Help pls? Stuck......
9/30/20
603
views
0
comments
0
Garrett Bowler
Level 3
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Helpful hint
while comparing, single out one int at a time, so do a against b and then against c rather than a < b and b < c. this should help with last unresolved issue
7/24/20
736
views
0
comments
1
hidden #10625598
Level 23
Question about the task
Deep cloning of a map
Java Multithreading
,
Level 1
,
Lesson 8
Under discussion
can somebody tell me why this is wrong?
7/26/20
689
views
1
comment
0
Maxine Hammett
Level 19
San Diego
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Under discussion
Error: Could not find or load main class com.codegym.task.task14.task1408.Solution
I've got my code in intelija but when I run the solution class I get the error Error: Could not find or load main class com.codegym.task.task14.task1408.Solution. Can anyone help me resolve this issue? public class Solution { public static void main(String[] args) { Hen hen = HenFactor
7/31/20
535
views
0
comments
0
Dennis
Level 1
Malakoff
Question about the task
Number algorithms
Java Core
,
Level 10
,
Lesson 10
Under discussion
What Does This Have to Do With Serializtion
This stage is about serialization and there is no serialization in this task. Wondering why it's here?
7/31/20
638
views
0
comments
0
Rodrig R.
Level 7
Greensboro
Under discussion
Validation question mark
Hi I am having trouble validating the result. when I send this code I see a question mark in the feedback. Should I be using less variables? I am not sure what the issue in my code is. Thanks
8/1/20
455
views
0
comments
0
Collin Morudi
Level 17
Polokwane
Under discussion
How to bookmark a lesson?
Hello everyone, can anyone tell me how to bookmark the lessons for later reference?
8/2/20
537
views
0
comments
0
Fabian Andiel
Level 9
Vienna
Question about the task
Countdown at the races
Java Core
,
Level 6
,
Lesson 10
Under discussion
Why is it not working?
Please help don`t understand why it`s not working. When i tested the code with 3 in my Inteliji it worked just fine. With 4 im not sure if I´m getting the supposed result.
8/4/20
768
views
0
comments
0
Tata
Level 16
Hisar, Haryana
Question about the task
Sorting even numbers from a file
Java Core
,
Level 3
,
Lesson 11
Under discussion
could anyone please clear my doubt?
we used here 'fileReader' in BufferedReader object instead of System.in , what does it actually mean.🤔🤔
8/5/20
501
views
0
comments
0
hidden #10625598
Level 23
Question about the task
Inverted words
Java Multithreading
,
Level 2
,
Lesson 9
Under discussion
can anybody see my mistake here?
8/5/20
624
views
0
comments
0
Henrique
Level 41
São Paulo
Question about the task
Refactoring (part 8)
Java Multithreading
,
Level 5
,
Lesson 16
Under discussion
HELP pls
no idea what to do "The removeStudent(int index) method should remove the student with the specified index." "Use a break statement in the findJohnOrAlex() method." (StudentDatabase class)
8/5/20
611
views
0
comments
0
Lydia
Level 0
Under discussion
help me solve this...*URGENT*
Write a Java Program which includes at least 6 different questions with 4 Multiple Choice Options. Ask the User to choose one answer from those 4 choices. You can implement the MCQs with RadioButton Class of Swing Package. After answering all the answer by the user your program should be able to com
8/6/20
638
views
0
comments
0
asdqwe
Level 2
Prague
Under discussion
将下列代码中各个不同功能的类放在不同的包定义
package aaaa; interface Pet{ public String getName(); public String getColor(); public int getAge(); } class Cat implements Pet{ private String name; private String color; private int age; public Cat(String name,String color,int age) { this.setName(name); this.setColor(color); this.setA
8/8/20
622
views
0
comments
0
Henrique
Level 41
São Paulo
Question about the task
Determining locking order
Java Multithreading
,
Level 7
,
Lesson 6
Under discussion
Followed Guadalupe's suggestion and it still doesn't work. Help, pls
Hi. I followed the steps suggested by Guadalupe here and it still doesn't work. Can someone help me here? I don't know exactly what should I return. I don't know if the problem is there or somewhere else. Thanks.
8/11/20
533
views
0
comments
0
Maxim Raitin
Level 20
Tomsk
Under discussion
IntelliJ IDEA shidt+F10 doesn't work
Hello. After install plugin IntelliJ IDEA doesn't run a program
8/11/20
463
views
0
comments
0
Tony Roy
Level 41
Victorville
Question about the task
HTML Editor (part 24)
Java Multithreading
,
Level 8
,
Lesson 15
Under discussion
extending the editor
I have managed to extend the editor including with an indent action. For an action class that extends StyledEditorKit.StyledTextAction the key code is, MutableAttributeSet mutableAttributeSet = new SimpleAttributeSet(); StyleConstants.setLeftIndent(mutableAttributeSet, );
8/11/20
668
views
0
comments
0
allthemore
Level 41
Question about the task
How many potential friends does a person have?
Java Collections
,
Level 6
,
Lesson 8
Under discussion
Got the same result as expected but verification didn't pass
I've got the same results as expected but verification didn't pass. Could you help me figure out why?
8/14/20
692
views
0
comments
0
Teodor Clipa
Level 41
Bucharest
Question about the task
Restaurant (part 22)
Java Multithreading
,
Level 9
,
Lesson 15
Under discussion
Can't get validator to work
No matter what I change, the validator still gives Time out.
8/14/20
804
views
0
comments
0
Blizniak
Level 4
Cieszyn
Under discussion
Program run to loong dlaczego ?
package pl.codegym.task.task03.task0314; /* Tabliczka mnożenia */ public class Solution { public static void main(String[] args) { int a = 1; while (a <=10); int b = 1; while (b <= 9) ; System.out.println(a * b + b++); System.o
1/14/21
557
views
1
comment
0
Show more
1
...
97
98
99
100
101
...
374
Please enable JavaScript to continue using this application.