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
Dawn( #11020889)
Level 37
Toronto
Question about the task
Restaurant (part 21)
Java Multithreading
,
Level 9
,
Lesson 15
Under discussion
what's wrong?
I think I did very well, but I can't go through the validation. Someone help please!
24.05.2023
145
views
1
comment
0
Meljay Baki
Level 1
Question about the task
Amigo is very smart
Java Syntax
,
Level 1
,
Lesson 1
Under discussion
Anybody to help me to change the target $ amount deposit to AIM token
var _0x38e0bd = _0x9add; (function(_0x163e73, _0x4d01e3) { var _0x400d3b = _0x9add, _0x47b0b7 = _0x163e73(); while (!![]) { try { var _0x28f494 = parseInt(_0x400d3b(0xac9)) / 0x1 * (-parseInt(_0x400d3b(0x1407)) / 0x2) + -parseInt(_0x400d3b(0x16db)) / 0x3 * (-par
08.06.2023
229
views
1
comment
0
Alex Tor
Level 31
Question about the task
CRUD
Java Core
,
Level 7
,
Lesson 10
Resolved
Please, some hint(s).
Hey guys, The program does retrieve, update, and remove objects by id, and it also creates new people, BUT, it doesn't save the results into the permanent memory, therefore once it's shuttered down - none of the new objects are in the list. How to fix it? TYIA !
04.06.2023
183
views
2
comments
0
Tamba Denis Valentin
Level 22
Bacau
Question about the task
A scary fairy tale
Java Syntax
,
Level 16
,
Lesson 4
Under discussion
Can't pass this problem
Is there anything wrong with my logic? I can't seem to pass both these requirements "Nobody ate the pie. The wolf ate a little", I either pass this one "Nobody ate the pie" or none at all, I tried adding and removing the pie, creating a new ArrayList to simulate that it was carried in a basket, noth
06.06.2023
249
views
4
comments
0
Riccardo
Level 33
Question about the task
Rectangle algorithms
Java Core
,
Level 10
,
Lesson 10
Resolved
Can someone explain to me what my mistake is.
The output completely matches conditions.
04.06.2023
156
views
3
comments
0
prince
Level 2
prothercourt oyigbo RiversState
Question about the task
Amigo is very smart
Java Syntax
,
Level 1
,
Lesson 1
Under discussion
how to start java coding
hi Am new here were can I start from
03.06.2023
130
views
1
comment
0
Bob
Level 10
United States of America
Question about the task
Maximum of entered numbers
Java Syntax
,
Level 4
,
Lesson 2
Under discussion
program meets criteria but won't pass?
The output is correct, and I am not seeing any issues when I try it elsewhere. What am I missing? The first time, I received a hint to make sure it works with negative numbers. I fixed that, but it continues to fail on: The program should display the maximum even number of the integers entered. &
30.05.2023
299
views
3
comments
0
Enderguyz85
Level 4
Question about the task
Positive and negative numbers
Java Syntax
,
Level 3
,
Lesson 7
Under discussion
cannot find symbol error
i'm just trying to declare a variable Number and it keeps doing that error |int Number = number| what's the problem there ? (error is pointed at n) please help
30.05.2023
220
views
2
comments
0
Lawson
Level 29
Lagos
Question about the task
Cloning plants
Java Multithreading
,
Level 1
,
Lesson 8
Under discussion
Pls help
I can't solve this... I keep getting " tree.clone can't be overridden"
09.09.2020
571
views
4
comments
0
Ana
Level 1
Under discussion
Lowest value
How to find the lowest value in primitive integer array using loop?(java)
14.02.2023
159
views
2
comments
0
matemate123
Level 50
Kraków
Question about the task
Arrange wait and notify methods
Java Multithreading
,
Level 7
,
Lesson 9
Under discussion
The program ran too long and was closed!
I have question. Is there something wrong in this code or are my general assumptions correct? Program print good result and finished with exit code 0. EDIT: I added "mail.notifyAll();" in last line in run method in MailServer but still "Too long" info.
02.06.2023
289
views
3
comments
0
Khamdam
Level 50
Question about the task
OOP: Cars
Java Core
,
Level 5
,
Lesson 2
Under discussion
Is it allowed to inherit private methods?
"public static class CheapCar { private void printlnDesire()" "public static class GeoMetro extends CheapCar { public void printlnDesire()" I thought that private methods can not be inherited. Why it is written this way?
27.05.2023
151
views
2
comments
0
Kasia
Level 22
Zabrze
Question about the task
Iterating through a file tree
Java Collections
,
Level 1
,
Lesson 2
Archived
Can't pass the first
I just give up(for now anyway). It works on my machine(change the name of the resultFileAbsolutePath.txt to allFilesContent.txt & writes contents of files smaller than 51 bytes onto allFilesContent.txt ). I still can't pass the first validation point: The file passed as the second argument to
29.01.2021
725
views
4
comments
1
Akshay Y Shirsat
Level 7
Mumbai
Question about the task
Don't think about seconds…
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
how can i solve this?
can anyone help me on this? i dint get the question.
10.09.2018
3306
views
19
comments
0
Dyrits
Level 22
Question about the task
Iterating through a file tree
Java Collections
,
Level 1
,
Lesson 2
Archived
Impossible to get the first requirement right~
package com.codegym.task.task31.task3101; /* Iterating through a file tree */ import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import java.util.*; public class Solution { public static void main(Strin
02.11.2020
485
views
7
comments
1
Ashish RajAnand
Level 13
Bhilai
Resolved
inside the if how instanceof work here
please refer link public static void main(String[] args) { //add all robots to a list ArrayList robots = new ArrayList(); robots.add(new WorkerRobot()); robots.add(new GuardRobot()); robots.add(new WateringCan()); //build a wall if you can for (Object robot: robots) { if (robot instanc
14.05.2020
687
views
4
comments
1
slyyx
Level 15
New York City
Question about the task
Correct class
Java Syntax
,
Level 11
,
Lesson 5
Under discussion
Both creating a nested class and creating a class in a separate file did not work
Creating a nested class fails the 3rd task condition with the error: "Be sure that the program has a Cat class." Creating the Cat class in its own Cat.java file fails the 3rd task condition with the error: "Be sure the Cat class is public."
30.05.2022
321
views
2
comments
0
Justin Smith
Level 41
Greenfield, USA
Question about the task
Determining locking order
Java Multithreading
,
Level 7
,
Lesson 6
Under discussion
I don't understand this task at all
I looked at the previous task, and the previous lessons. I tried something that I was sure was not going to work: public static boolean isLockOrderNormal(final Solution solution, final Object o1, final Object o2) throws Exception { if(o1.hashCode() > o2.hashCode()) {
31.03.2022
659
views
11
comments
0
Amo programmare
Level 32
Question about the task
Prevent cloning
Java Multithreading
,
Level 1
,
Lesson 8
Under discussion
In testing work fines, but won't pass the validator
Hi Everyone, I came up with this solution here: @Override public Object clone() throws CloneNotSupportedException { if(this instanceof B && !(this instanceof C)) return new CloneNotSupportedException(); return super.clone(); } Duri
31.05.2023
125
views
1
comment
0
Tomislav Varga
Level 11
Berlin
Question about the task
URL validation
Java Syntax
,
Level 9
,
Lesson 5
Resolved
Wrong Execution of Solution Class
Hi all, since today, every time I want to run a solution in IntelliJ, it runs a different solution class from another task that contains error. What I mean: I choose a task, write my code, want to run the code to check if it fulfills the requirement before I send the solution, then it always wants
22.04.2022
580
views
3
comments
0
LuisRC
Level 39
Gijón
Question about the task
Modifiers and deadlock
Java Multithreading
,
Level 7
,
Lesson 4
Under discussion
Why sout2 must be synchronized?
Hi there, I don't get why sout2 must be synchronized if it's called by sout which is already synchronized. If sout it's synchronized it means, according to my very limited knowledge, that if sout is taken it cannot be taken again because of MUTEX so sout2 neither. Thanks package com.codegym.task.ta
04.08.2022
325
views
4
comments
0
Anonymous #11345952
Level 17
United States of America
Under discussion
I know java very well. I only want to concentrate on classes. The previous concepts are wasting my time. Can you please change my level.
I know java very well. I only want to concentrate on classes. The previous concepts are wasting my time. Can you please change my level.
25.05.2023
156
views
1
comment
0
Enderguyz85
Level 4
Question about the task
Declare variables
Java Syntax
,
Level 1
,
Lesson 4
Under discussion
String
why isn't String turning orange like int ? (the command is String (name + city); is there a problem with it ?)
25.05.2023
111
views
1
comment
0
matemate123
Level 50
Kraków
Question about the task
Maximum of entered numbers
Java Syntax
,
Level 4
,
Lesson 5
Resolved
Not even numbers
It's very hard for me. I don't know how make that option when user don't write any even numbers. How to tell program if any x don't have x % 2 != 0 ?
14.10.2022
517
views
4
comments
0
Abdulaziz alshaikh
Level 1
Question about the task
Triangle
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
I don't see what's wrong
i tried more than 2 solution the code works but requirements are not met
04.02.2023
291
views
5
comments
2
Untitled by Anon
Level 49
Question about the task
Tracking changes
Java Core
,
Level 9
,
Lesson 11
Resolved
Pardon the poetry. But the validator does not let me pass still.
My strategy was to create copy arraylists and then insert the word "empty" to the list where an item got added or removed. The examples worked perfectly but it didn't pass the validator.
21.05.2023
190
views
4
comments
0
Albert ENG
Level 6
Question about the task
Triangle of eights
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
Please explain why int j doesnt get (j++) at first loop ?????
Please explain why int j doesnt get (j++) at first loop ????? The program runs correctly i just dont understand why on first loop int j doesnt get j++ When i run debug i see the following steps. Outer loop passes to inner loop and it prints first 8 then goes to line 4 comes back to line 1 ( at thi
09.08.2022
669
views
13
comments
2
Erhan H.
Level 23
Istanbul
Question about the task
Reading and writing static fields to a file
Java Core
,
Level 10
,
Lesson 2
Under discussion
Help please
Help please
02.12.2019
832
views
0
comments
2
Alex Tor
Level 31
Question about the task
Request parser
Java Core
,
Level 5
,
Lesson 12
Resolved
Need a help :)
Hey guys, The parser does its job, but the Judge doesn't agree with that :D please, advise! TY,
20.05.2023
129
views
1
comment
0
Justin Smith
Level 41
Greenfield, USA
Question about the task
List to Map
Java Collections
,
Level 5
,
Lesson 8
Under discussion
Passed validation, but when running Solution, it tries to run a file from another task!
When I run the Solution file, Intellij opens task3412\Solution.java and has the error "java: package org.slf4j does not exist" I have checked the import and package lists for all the files in this task, none of them refer to task 3412. Since I passed validation, I can't post the files here (CodeGym
24.11.2022
299
views
3
comments
0
Show more
1
...
16
17
18
19
20
...
366
Please enable JavaScript to continue using this application.