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
Witaya Chada
Level 1
Resolved
LoG controls
Privacy// log copyright //Apache License //Version 2.0, January 2004 // http://www.apache.org/licenses/ /// TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION // 1./storage/emulated/0/Download/minecraft-pocket-edition-versions-ipa.zip log.Switzerland back Definitions. // "L
3/4/25
179
views
1
comment
0
Slobodianiuk Anna
Level 1
Under discussion
new password
How can I set a new password if I forget my old password?
12/5/24
242
views
0
comments
0
Kingpvz
Level 31
Question about the task
How do you serialize Singleton?
Java Core
,
Level 10
,
Lesson 4
Under discussion
wtf do you mean google it
aren't we supposed to be learning this in the lessons? why google it?
4/15/25
160
views
0
comments
0
Evgeniia Shabaeva
Level 42
Budapest
Question about the task
Restaurant (part 16)
Java Multithreading
,
Level 9
,
Lesson 15
Resolved
2 methods are not validated
Well, it's my turn to ask for help with this exercise:). So, for today we're written the printAdRevenue() and printCookUtilization() methods (both void) in the ManagerTablet class, and the corresponding getters for them in the StatisticsManager class (I wasn't creative and called mine Map<Date,
4/7/25
246
views
18
comments
0
Kate Dvtkv
Level 17
Question about the task
Ask a question on Help
Web Core
,
Level 3
,
Lesson 4
Under discussion
how to keep learning
just a question how to motivate yourself and finish the course
3/21/25
184
views
2
comments
0
Evgeniia Shabaeva
Level 42
Budapest
Question about the task
Restaurant (part 10)
Java Multithreading
,
Level 9
,
Lesson 15
Under discussion
I did it without recursion; is it wrong?
I can't attach my code here, as the task is resolved, but I still have questions:). The thing is, I wrote the "processVideos()" method in the AdvertisementManager class without recursion, but it got validated. I'm wondering whether I missed learning something important because of that. My logic was
4/3/25
182
views
2
comments
0
Evgeniia Shabaeva
Level 42
Budapest
Question about the task
How to avoid Copy+Paste
Java Multithreading
,
Level 4
,
Lesson 6
Resolved
Sth's wrong with the 5th requirement
If the int parameter passed as an argument to the toCanSpeak is less than 1, the output is accepted by the validator. However, if it's equal to or greater than 1, the output is not validated. I carefully counted the number of spaces in the examples given in the Javadoc and I think mine is the same.
2/6/25
261
views
2
comments
2
A. Laika
Level 25
Question about the task
Initializing objects
Java Syntax
,
Level 10
,
Lesson 4
Under discussion
Lol
I thought it was asking me to make an initialize that will accept empty values as parameters and not just a "writ initializ plis"
3/31/25
168
views
0
comments
0
Anonymous #10560641
Level 9
Question about the task
Ask a question on Help
Web Core
,
Level 3
,
Lesson 4
Under discussion
How are you all doing?
I am fulfilling the Web Development task, 'Ask a Question on Help'. So, that's my question: how are you all? Sorry, I don't have a technical question to ask for now. :(
3/19/25
169
views
1
comment
0
Witaya Chada
Level 1
Resolved
༺═──────────────═༻๛λʉʈσɰλʈɩͼ ɾɛρɮɤ Lσɡͼσɳʈɛɾσɮꜱ ɡɛɰɩɳɩ ɩɳ ʈɧɛ ɰɩɖɖɮɛ I ɧλʋɛ ʈσ ɡɛʈ ʉρ λɳɖ Bɮʉɛʈσσʈɧ ɧɛλɖρɧσɳɛꜱ ɩɳ ʈɩɰɛ ʈσ ꜱɛɛ ɤσʉ λɮɮ ɩɳ ʈɩɰɛ๛❢◥ ▬▬▬▬▬▬ ◆ ▬▬▬▬▬▬ ◤❢༺═──────────────═༻The code snippet you provided appears to be related to an Android application's manifest file, specifically dealing wit
༺═──────────────═༻๛λʉʈσɰλʈɩͼ ɾɛρɮɤ Lσɡͼσɳʈɛɾσɮꜱ ɡɛɰɩɳɩ ɩɳ ʈɧɛ ɰɩɖɖɮɛ I ɧλʋɛ ʈσ ɡɛʈ ʉρ λɳɖ Bɮʉɛʈσσʈɧ ɧɛλɖρɧσɳɛꜱ ɩɳ ʈɩɰɛ ʈσ ꜱɛɛ ɤσʉ λɮɮ ɩɳ ʈɩɰɛ๛❢◥ ▬▬▬▬▬▬ ◆ ▬▬▬▬▬▬ ◤❢༺═──────────────═༻The code snippet you provided appears to be related to an Android application's manifest file, specifically dealing wit
3/28/25
157
views
0
comments
0
Sindhura
Level 15
Delhi
Question about the task
Static modifiers: part 2
Java Core
,
Level 5
,
Lesson 9
Under discussion
what is the issue with my code?seems correct to me but not verifying
package com.codegym.task.task15.task1515; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /* Static modifiers: part 2 */ public class Solution { public static int A; public static int B; static{ try{ BufferedReader b=new Buff
10/20/18
1872
views
8
comments
0
Kingpvz
Level 31
Question about the task
Generics and students
Java Syntax
,
Level 13
,
Lesson 7
Under discussion
I have no idea
I even check the correct code and it appears mine is literally the same thing. What's wrong?
11/29/24
437
views
4
comments
2
Earil
Level 25
Paris
Question about the task
Exception when working with numbers
Java Syntax
,
Level 9
,
Lesson 6
Resolved
Need help understanding why the validity test accepts one answer and not the other - possible bug report -
Hello, I have two codes that I think are functionally identical, and I need help understanting why one is validated and the other is not. Here is NOT working code (ERROR : The program must catch a specific type of exception, not all possible exceptions (i.e. not Exception)) : public class Solutio
6/12/19
2093
views
2
comments
1
Chris Hilborne
Level 26
Sanlucar de Barrameda
Question about the task
This age doesn't work for me…
Java Syntax
,
Level 4
,
Lesson 1
Under discussion
hint for everyone who is struggling
Hi guys, in the adjustAge method you need to think about what type of variable you are working with: if it's a static variable, I.e. it belongs to the CLASS of person - then it should be declared as static if it's an instance variable, i.e. it only belongs to this instance of the person class (t
2/16/20
1977
views
5
comments
11
Evgeniia Shabaeva
Level 42
Budapest
Question about the task
Thread priorities
Java Multithreading
,
Level 8
,
Lesson 6
Resolved
Why not?
The validator emphasizes that the priority of the MyThread objects should be set using a loop, from MIN_PRIORITY to MAX_PRIORITY. Isn't it exactly what I'm doing here? What are the weak points of the code?
3/20/25
213
views
4
comments
0
LaikaLaikaka
Level 32
United States of America
Question about the task
Task No. 1 about integer type conversions
Java Syntax
,
Level 12
,
Lesson 4
Under discussion
why is long d = (long) (a + f / c + b); different from long d = (a + f / c + b);
why is long d = (long) (a + f / c + b); different from long d = (a + f / c + b); I wonder what cast operator does. Is (long) (a + f / c + b) means it convert (a + f / c + b) to long or a,f,c,b to long and do the operations? if it is the previous case, why there is a problem with long d = (a + f / c
3/20/25
168
views
4
comments
0
Amelia
Level 6
Question about the task
Multiplication table
Java Syntax
,
Level 4
,
Lesson 5
Resolved
"The program should display a 10x10 multiplication table."
I know my code isn't the prettiest, but it does the job. It shows a perfect 10 x 10 multiplication table, which is exactly the same as the example one. but no matter what I do it doesn't want to pass "The program should display a 10x10 multiplication table." requirement. Any clue what could be wrong
3/19/25
180
views
2
comments
0
Evgeniia Shabaeva
Level 42
Budapest
Question about the task
Archiver (part 17)
Java Multithreading
,
Level 7
,
Lesson 15
Resolved
Same 5th requirement)
I think I need help with this. I see that a lot us here have had this issue with comparing relative and absolute paths, and I'm trying to address it in my code. When I run it, it successfully adds the right files to the right archive on my computer, so the code seems to be working. However, the 5th
3/19/25
156
views
1
comment
0
Evgeniia Shabaeva
Level 42
Budapest
Question about the task
Archiver (part 15)
Java Multithreading
,
Level 7
,
Lesson 15
Under discussion
Weirdly enough, can't meet the 2nd requirement
I'm working on my ZipFIleManager code now. The requirement I can't pass is, "The extractAll(Path outputFolder) method must throw a NoSuchZipFileException if the archive file does not exist". It's weird, as I'm actually checking for that right at the beginning of the extractAll method: if (Files.not
3/14/25
192
views
5
comments
0
Justin Smith
Level 41
Greenfield, USA
Question about the task
Working with Java 8's DateTime API
Java Collections
,
Level 10
,
Lesson 10
Resolved
There seems to be an error in the conditions re: day of week
April 21, 2014 is a Monday, so it should be the second day of the week. However, the conditions say this should be an output of 1. Are they using 0 for Sunday? They don't appear to be using 0 as a start for the months, so that would be inconsistent, if so. In any event, I did try (Calender.get(CALEN
6/26/23
398
views
3
comments
0
Evgeniia Shabaeva
Level 42
Budapest
Question about the task
Archiver (part 10)
Java Multithreading
,
Level 7
,
Lesson 15
Under discussion
Post-completion reflection))
It took me a long time to meet the last requirement, which said that "the createZip method in the ZipFileManager class must be completed according to the task conditions". So I wrecked my brain for two days what might be wrong with my createZip method. The help section gave me a hint to meddle with
3/14/25
169
views
2
comments
0
Jeremiah Rausch
Level 35
Question about the task
Ask a question on Help
Web Core
,
Level 3
,
Lesson 4
Under discussion
This is just a question to complete the task 14
Is this how you complete task 14?
3/15/25
152
views
0
comments
0
Evgeniia Shabaeva
Level 42
Budapest
Question about the task
Chat (part 21)
Java Multithreading
,
Level 6
,
Lesson 15
Resolved
Something's wrong)
Well, I feel I've done everything expected, but the validator doesn't believe I've met any of the requirements, beginning with the very declaration of the ClientGuiController class. I'm really at a loss, as I was pretty confident about this code:). What am I missing?
3/5/25
228
views
4
comments
0
Kingpvz
Level 31
Question about the task
Horse racing
Java Core
,
Level 6
,
Lesson 5
Under discussion
Compared to the correct solution, it's basically the same.
Except for the fact I use "i" instead of "horse" So what's the problem?
3/2/25
200
views
1
comment
0
Kingpvz
Level 31
Question about the task
Singleton
Java Core
,
Level 4
,
Lesson 8
Under discussion
Pro tip: the field must be named "instance"
My code was literally identical, the only difference was the name for the static field - I chose "me" and you cannot do that, or the task won't show as complete. It must be "instance" for whatever reason.
2/15/25
189
views
0
comments
0
ceciliabarranco94
Level 18
CDMX
Question about the task
Ask a question on Help
Web Core
,
Level 3
,
Lesson 4
Resolved
light or dark side?
the dark side really offers me true freedom?
2/17/25
193
views
0
comments
0
Jonas
Level 41
Vilnius
Question about the task
MVC (part 9)
Java Multithreading
,
Level 4
,
Lesson 14
Resolved
What does it want?
Mentor says: "The output of the main method must contain the modified user."
5/19/20
672
views
4
comments
0
Mirna C.
Level 1
United States of America
Question about the task
Second smallest number entered
Java Syntax
,
Level 6
,
Lesson 2
Resolved
Could someone please explain to me the logic inside the while loop.
I tried to solve this task for several days but continuously failed. I downloaded the solution for learning purposes only. Could someone please explain to me the logic inside the while loop."If (enteredInt is < min) { secondMin = min; min = enteredInt;} else if enteredInt > min && ent
1/22/25
242
views
4
comments
0
Mirna C.
Level 1
United States of America
Resolved
Why is my code not meeting the last condition (displaying the minimum sum of the elements in any row or colum)
public static void main(String[] args) { Scanner input = new Scanner(System.in); int minSum = Integer.MAX_VALUE; for (int i = 0; i < array.length; i++) { for (int j = 0; j < array[i].length; j++) { array[i][j] = input.nextInt();
2/4/25
235
views
8
comments
0
Seb
Level 41
Crefeld
Question about the task
Saving time
Java Multithreading
,
Level 10
,
Lesson 4
Resolved
Time out error when trying to validate
The program creates the expected output. When trying to validate I'm running into a time out error though. ("Check your code. It looks like you have an infinite loop.") I explicitly added Thread.currentThread().interrupt(); in the catch clauses of the InterruptedExceptions in order to kind of "rethr
2/11/20
1209
views
3
comments
0
Show more
1
2
3
4
5
6
7
...
374
Please enable JavaScript to continue using this application.