Promotion
CodeGym University
Learning
Course
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
Liliane Top
Level 17
Amsterdam
Question about the task
Incorrect lines
Java Core
,
Level 3
,
Lesson 11
Resolved
Why do we need to declare the method with String type?
I do not understand why we need to declare the String type with the method onPress() and parameter Object o. It works perfectly fine without it so why do we have to insert this additional code?
14.03.2020
841
views
1
comment
1
Sal
Level 5
Under discussion
Where is the problem?
Can anyone help me to spot the problem with my code? because when I run it, it keeps displaying the smallest number from the input, not the second smallest one. I would really appreciate it 🙏
18.12.2022
220
views
1
comment
0
Justin Smith
Level 41
Greenfield, USA
Question about the task
Mastering ClassLoader and Reflection
Java Collections
,
Level 6
,
Lesson 10
Under discussion
Need some help understanding ClassLoader
When I use a statement like: classLoader.loadClass() What String am I putting inside the parentheses? Is it: 1. The full absolute path to the class file? 2. A relative path to the class file (dependent on where the ClassLoader is made)? 3. Just the file name of the class? 4. Just the class name?
16.12.2022
220
views
0
comments
0
khadar
Level 2
Bangaloru
Question about the task
2048 (Part 1/18)
Games
,
Level 0
,
Lesson 2
Under discussion
gamer
the gam is very difficult
16.12.2022
188
views
0
comments
0
Dustin Lerch
Level 9
United States of America
Question about the task
Chess board
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
The array must be filled as outlined in the task conditions.
What does this meaaaaan? I'm so lost on this one.
15.12.2022
231
views
3
comments
0
yz
Level 37
Jakarta
Question about the task
Find the class by its description
Java Collections
,
Level 6
,
Lesson 6
Resolved
anyone did this )?
???
12.04.2020
891
views
6
comments
2
Hruthish
Level 1
Bangalore
Question about the task
2048 (Part 1/18)
Games
,
Level 0
,
Lesson 2
Under discussion
practice code?
how to practice Code?
15.12.2022
268
views
2
comments
0
Dustin Lerch
Level 9
United States of America
Question about the task
Cutting down the middle
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
What am I doing wrong
I tried so many different things, like replacing the all the public static chars with the '-'s; Ive tried the chars [1] = new char [] {'m', '-',.......} for both elements 1 &2; I cant figure out how to loop the new elements into it...i'm in a rough patch with this one.....
14.12.2022
236
views
1
comment
0
Justin Smith
Level 41
Greenfield, USA
Question about the task
Using TreeSet
Java Collections
,
Level 6
,
Lesson 8
Under discussion
Example outputs don't match task conditions
They say that only unique letters should be printed out. And that lower and upper case letters are treated as the same thing. However... In the conditions file, they give two example inputs and outputs. If the input text is "zBk yaz b-kN", then they say the output should be "abkny". However b and k
13.12.2022
189
views
0
comments
0
Asanga Costa
Level 2
Zurich
Under discussion
Starting over?
Dear all, I've progressed to about level 2 but had to stop for a while. Now I have forgotten most of what I had learnt and want to start all over again. Is it possible to do that? Or do I need to create a new login name? Thank you in advance for any feedback. Regards Asanga
12.08.2019
1297
views
2
comments
1
TonySD #10964130
Level 24
Russia
Under discussion
Plugin Outdated
After click on "Select a task", Intellij IDEA alarms that plugin outdated. If i press "update", it's restarting and still alarms
19.09.2022
542
views
2
comments
3
Paul
Level 24
Vienna
Question about the task
Deep cloning of a map
Java Multithreading
,
Level 1
,
Lesson 8
Under discussion
What does actually happen in the clone() method?
I don't think I understand this topic even after doing some reading on it. I will try to describe as good as I can what I think happens in my code. If you can see the mistake, I would be grateful for any hints. As far as I understand after clone() in the main method is called, the solution.clone()
09.12.2022
388
views
3
comments
0
Kristian Kelij
Level 18
New
Completed AP Java Exam Lite, problem with dark matter
Hi guys, I´ve completed AP Java Exam Lite, first 15 levels and now when I want to continue to Java Core I have to spend instead of 1 Dark matter 11. Is it okey ? What I have to do ?
11.12.2022
210
views
0
comments
0
Norbert
Level 41
Kielce
Question about the task
CashMachine (part 9)
Java Collections
,
Level 9
,
Lesson 15
Resolved
Why the InterruptedOperationException is still an error
I remove abstract from the InterruptedOperationException.
11.12.2022
228
views
1
comment
0
Mark Beattie
Level 13
Oshawa
Question about the task
Exceptions. Just exceptions.
Java Syntax
,
Level 9
,
Lesson 8
Under discussion
In IntelliJ IDEA my task verification request comes back with Unknown Error during task verification.
I attempted to run my solution from the browser but was told the following: This task cannot be run on the CodeGym server. Use IntelliJ IDEA. I tried it on IntelliJ, and can run the task. When trying to get it verified, I get the message saying 'Unknown error during task verification" Went back t
24.11.2022
189
views
2
comments
0
Dawn( #11020889)
Level 37
Toronto
Question about the task
Prices
Java Core
,
Level 8
,
Lesson 11
Under discussion
what's the problem?
I suppose I've completed all requirements, but it said I didn't re-write the contents. what's wrong? please save me!
07.12.2022
182
views
3
comments
0
Anonymous #11201052
Level 7
New
Unable to retry past tasks!
Sometimes i need multiple attempts to complete a task. Unfortunately, it seems that if i am verifying too much time a solution i did, the compiler refuse to verify my solution. The problem is not my solution in itself since i have tried the option "Download the correct solution" from CodeGym. So, e
08.12.2022
235
views
0
comments
0
Andrei
Level 41
Question about the task
Aggregator (part 4)
Java Collections
,
Level 8
,
Lesson 15
Under discussion
How do I add jsoup to my project? I downloaded the latest version from git but it has no .jar file that i can import. Please help.
The downloaded file has mainly .java files.
28.07.2021
303
views
1
comment
0
Pranai Rao
Level 7
Nashua, NH
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Why is the last condition not fulfilled?
I am displaying the index number of the element which is violating the order. How else should I complete the task to make the verifier accept the answer? Is my understanding of the task wrong?
27.11.2022
183
views
1
comment
0
Nicolae Span
Level 16
Question about the task
Summation
Java Syntax
,
Level 4
,
Lesson 3
Resolved
I dont get why my program takes too long to compile.
can someone help me?
07.12.2022
344
views
4
comments
0
Vadim “迪姆哥”
Level 35
Question about the task
User, loser, coder and programmer
Java Core
,
Level 4
,
Lesson 8
Resolved
Is verification algorithm broke again?
My satisfied all requirements, but still didn't pass verification.
06.12.2022
377
views
2
comments
0
Niladri pradhan
Level 33
Mumbai
Question about the task
Let's find the highest power of 2
Java Multithreading
,
Level 10
,
Lesson 8
Under discussion
I am out of ideas to solve it
How to solve without declaring any variable or without using any operators
22.01.2020
767
views
6
comments
2
Chrizzly
Level 12
Earth
Question about the task
Multiplication table
Java Syntax
,
Level 5
,
Lesson 4
Resolved
Why is this solution for the multiplication table not accepted?
Hello everyone :) Do you see, why my solution is not accepted? I created a multiplication table with the help of a nested for loop and filled the 2D array with it. The output is a 10 × 10 multiplication table, separated by a space. Thank you for your time.
05.12.2022
451
views
3
comments
0
Alex
Level 4
Question about the task
Positive and negative numbers
Java Syntax
,
Level 3
,
Lesson 10
Resolved
Not sure where i am going wrong
hi guys, i am still very new so i am sorry if my way of thinking/code is wrong. i am able to get this so that it displays the number of negative vs positive numbers however when verifying it is failing. any help/advice would be appreciated. thanks
21.03.2022
519
views
3
comments
0
hendra gunawan
Level 9
tebing tinggi
Question about the task
Multiplication table
Java Syntax
,
Level 6
,
Lesson 5
Resolved
please help...I'm stuck now
how solving this problem
29.11.2022
383
views
3
comments
0
Nikita Petrov
Level 30
Astrakhan
Question about the task
Introducing tags
Java Core
,
Level 9
,
Lesson 11
Resolved
Help needed
Hey, guys! Maybe, someone could help me out with this. This code returns a correct solution for all mentioned examples ("a" tag, nested tags), but still doesn't verify. Guess, I'm missing some variant of an input file. Thanks!
26.11.2022
306
views
6
comments
0
Justin Smith
Level 41
Greenfield, USA
Question about the task
What is ClassLoader?
Java Collections
,
Level 5
,
Lesson 10
New
I seem to be stuck
Here is what I have worked with so far: public static Set getAllAnimals(String pathToAnimals) { Set returnSet = new HashSet<>(); File packageFolder = new File(pathToAnimals); if(packageFolder.isDirectory()) { try {
02.12.2022
171
views
0
comments
0
David
Level 26
Bucharest
Question about the task
John Johnson
Java Core
,
Level 9
,
Lesson 11
Resolved
Help!!
It doesn't even print anything. Where is the mistake?
07.07.2020
538
views
2
comments
2
Tina
Level 17
Saint Petersburg
Question about the task
OOP: Method overloading
Java Core
,
Level 5
,
Lesson 12
Under discussion
Why does not pass the test
what's wrong? Why does not pass the test
17.06.2019
1324
views
4
comments
0
Coboliste
Level 46
Casablanca
Question about the task
Iterating through a file tree
Java Collections
,
Level 1
,
Lesson 2
Resolved
The code seems working correctly but it was not validated !
Hello EveryOne, As you read in the title, the code works correctly and seems covering the requirements ! but the validator keeps refusing to validate it, thanks in advance for your help. The file passed as the second argument to main must be renamed to allFilesContent.txt. => Line 21 You need to
27.11.2022
471
views
4
comments
0
Show more
1
...
27
28
29
30
31
...
366
Please enable JavaScript to continue using this application.