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
hidden #10529213
Level 19
Question about the task
Calculating salaries
Java Core
,
Level 9
,
Lesson 11
Resolved
Last condition is not passing
The output is right, but the last condition is not passing. Thank you!
10.06.2020
721
views
2
comments
3
Justin Smith
Level 41
Greenfield, USA
Question about the task
Restaurant (part 16)
Java Multithreading
,
Level 9
,
Lesson 15
Resolved
Inconsistent number types used in different classes for money amounts
In the Advertisement class, the amountsPerImpression is a long. This means no decimal places. In the VideosSelectedEventDataRow class, the amount field is also a long. So why then, in this task, when it gives you an example of what the printAdRevenue() method in the StatisticsManager should look li
12.07.2022
658
views
3
comments
0
larsintech
Level 15
Question about the task
Flipping data
Java Syntax
,
Level 13
,
Lesson 3
Resolved
My console shows the right result but code is wrong?
My console shows the right result but code is wrong?
29.07.2023
200
views
4
comments
0
Khamdam Yusupov
Level 47
Question about the task
Binary converter
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
Why it doesn't work?
I did everything as it said in the conditions. But it doesn't work. Could someone help me please.
28.07.2023
219
views
5
comments
0
Satya Vath
Level 31
Vijayawada
Question about the task
Everything ingenious is simple!
Java Multithreading
,
Level 1
,
Lesson 2
Under discussion
Can You Please Help Me
//I can't Understand package com.codegym.task.task21.task2103; /* Everything ingenious is simple! */ public class Solution { public static boolean calculate(boolean a, boolean b, boolean c, boolean d) { return (a && b && c && !d) || (!a && c) || (!b &
23.04.2019
1858
views
3
comments
0
larsintech
Level 15
Question about the task
Who here is a descendant?
Java Syntax
,
Level 11
,
Lesson 3
Resolved
Why do I get this error message?
In the main method, 3 objects (an instance of the HybridCar, GasCar and ElectricCar classes) should be created. I have created three objects...
26.07.2023
223
views
3
comments
0
hidden #11364598
Level 5
Question about the task
Second smallest number entered
Java Syntax
,
Level 4
,
Lesson 2
Resolved
Why secondMin showing the first int entered?
Hey I'm a bit lost. I thought my code would do the following: If a new low encountered then set secondMin as min then set min to X the new low. In reality tho my secondMin only stores the first value entered. Any hints?
26.07.2023
220
views
2
comments
0
larsintech
Level 15
Question about the task
Two iPhones
Java Syntax
,
Level 11
,
Lesson 5
Under discussion
What's wrong with my solution?
The equals method must return true for two equal IPhone objects and false for different ones.
26.07.2023
231
views
1
comment
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Externalizable Person
Java Core
,
Level 10
,
Lesson 7
Under discussion
what is wrong in my code?
need help
10.04.2019
1669
views
11
comments
0
Amantai
Level 47
Shymkent
Question about the task
Reading and writing to a file: CodeGym
Java Core
,
Level 10
,
Lesson 2
Resolved
Needs come help
Console output: true [First name: Mike Last name: Smith Birth date: 1989 01 27 Sex: male Country: United States, First name: Liliane Last name: Top Birth date: 1991 03 31 Sex: female Country: United Kingdom]
23.07.2023
352
views
3
comments
0
Megz
Level 3
Johannesburg
Question about the task
Price of apples
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
I dont understand
i got it to run apple price at 100, 150 and 200 and neither of then complete the last requirement i dont get it. i added the lines in the solution to show how i did it
29.09.2022
793
views
2
comments
0
TatMik
Level 22
Stockholm
Question about the task
Remove duplicate strings
Java Syntax
,
Level 5
,
Lesson 3
Resolved
What should I fix?
The both alternatives don't pass the test but work correctly for me...
23.07.2023
383
views
4
comments
0
DEEMA
Level 3
Under discussion
How can I chang my name ?
Hi guys Can someone help me
23.07.2023
193
views
1
comment
0
matemate123
Level 50
Kraków
Question about the task
Restaurant (part 10)
Java Multithreading
,
Level 9
,
Lesson 15
Under discussion
Scary 10 part
I need help here definitely! Guys, tell me how far away I am from the solution, and give me some advice because I don't know exactly what the validator wants here. There are so many places to make errors here, and I don't want to bang head against the wall.
20.07.2023
526
views
3
comments
0
DEEMA
Level 3
Under discussion
I need help
Hi guys Can any one help me ,because I don’t have any dark matter and I do all my tasks I don’t know what should I do to get dark matter So if someone can help me ,please answer me Thank you 🙏
22.07.2023
185
views
2
comments
0
Gowtham
Level 15
Bangalore
Resolved
How to open the Java Core tasks on IntelliJ?
I just finished all of the Syntax tasks. Please tell me how to open the Core quests on IntelliJ Idea.
19.12.2019
1202
views
4
comments
0
Amantai
Level 47
Shymkent
Question about the task
Introducing tags
Java Core
,
Level 9
,
Lesson 11
Resolved
The program ran too long and was closed!
File contents: Info about Leela Leela Turanga Supergirl Output: Leela Turanga Leela Turanga Super girl Process finished with exit code 0
19.07.2023
607
views
5
comments
0
Amantai
Level 47
Shymkent
Question about the task
Replacing numbers
Java Core
,
Level 9
,
Lesson 11
Resolved
Please tell me where is the mistake?
Input file: This costs 1 dollar, but this is 12. The variable is called file1. 110 is a number. Football is played by 22 people, but 11 Germans always win. Console output: This costs one dollar, but this is twelve. The variable is called file1. 110 is a number. Football is played by 22 people, but
21.07.2023
190
views
2
comments
0
Amantai
Level 47
Shymkent
Question about the task
Words with numbers
Java Core
,
Level 9
,
Lesson 11
Resolved
Where is the mistake?
mentor recommendation: Be sure that the program writes all the words containing numbers from the first file to the second file.
20.07.2023
208
views
2
comments
0
Boris
Level 1
New
Can I retake the placement test?
I took some courses on Java and now I wonder if I can retake the placement test here so it reflects my level better without going through the tasks manually
20.07.2023
170
views
0
comments
0
Rebecca Zee
Level 10
New York
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Error occurs when running the program
How do I resolve this error when I run my program? I can pinpoint that it has to do with adding a string to the ArrayList in the doubleValues(ArrayList) method. When I use the loop to print out the list it runs just fine. java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkFo
18.07.2023
649
views
7
comments
0
Gummy C
Level 11
United States of America
Question about the task
Two iPhones
Java Syntax
,
Level 10
,
Lesson 4
Under discussion
Hello again! I am having trouble understanding the issue with my code again. The first if statement compares whether or not the two objects are equal. The second if statement compares whether an object has null. The third if statement compares the two objects to see if they have identical elements.
package en.codegym.task.pro.task10.task1010; import java.util.Objects; /* Two iPhones */ public class Iphone { private String model; private String color; private int price; public Iphone(String model, String color, int price) { this.model = model; this.color = c
19.07.2023
308
views
3
comments
0
Gummy C
Level 11
United States of America
Question about the task
Serial entrepreneur
Java Syntax
,
Level 10
,
Lesson 2
Under discussion
Please help, I do not understand what the problem is. Why do we "have" to use a void method when a static method could be used as well? It returns the same thing
package en.codegym.task.pro.task10.task1005; /* Serial entrepreneur */ public class Building { private String type; public static String initialize(String type){ return type; } public static void main(String[] args) { Building building = new Building();
16.07.2023
527
views
5
comments
0
Nisha Kumari
Level 4
Question about the task
Three numbers
Java Syntax
,
Level 3
,
Lesson 2
Under discussion
what is the error in my code ??
my code is showing error why ??
18.07.2023
239
views
2
comments
0
Amantai
Level 47
Shymkent
Question about the task
Tracking changes
Java Core
,
Level 9
,
Lesson 11
Resolved
What's my mistake?
mentor recommendation: Be sure that the lines list has the ADDED label with the required lines in the correct places. I tested the task according to the conditions. Here are the results: file1: file2: results: line1 line1 SAME line1 line2 line3
17.07.2023
254
views
2
comments
0
Amantai
Level 47
Shymkent
Question about the task
Calculating salaries
Java Core
,
Level 9
,
Lesson 11
Under discussion
Why isn't a decision made?
Input: Output: Brown 1.44 Baxter 4.1 Baxter 2.75 Peterson 5.1 Peterson 2 Smith 6.0 Brown 3.14 Brown 6.6 Smith 6 Baxter 1
18.07.2023
208
views
1
comment
0
Abegail Caducio
Level 2
Under discussion
math random
can you create me a math random problem
16.07.2023
172
views
1
comment
0
J
Level 41
Wilson
Question about the task
Restaurant (part 4)
Java Multithreading
,
Level 9
,
Lesson 15
Under discussion
Why is this not validating and giving an error (the only one) for my update method in the Waiter class?
@Override public void update(Observable o, Object arg) { this.order = (Order) arg; System.out.println(this + " was prepared by " + o); }
12.08.2022
497
views
2
comments
0
Justin Smith
Level 41
Greenfield, USA
Question about the task
Distributing items into baskets with their own lock
Java Multithreading
,
Level 6
,
Lesson 8
Under discussion
So much in this task I don't understand
1. What's the Node class? I've tried googling this but the explanations are all very technical and refer to other things I also don't understand. 2. What's up with the for loop? I've never seen the .next in a for loop like this. 3. What is the hash method accomplishing? It seems it would return a se
09.02.2022
1084
views
7
comments
1
Amantai
Level 47
Shymkent
Question about the task
Reversing a file
Java Core
,
Level 8
,
Lesson 5
Resolved
Where is the mistake?
I used the required input/output streams and closed them immediately after reading/writing.
14.07.2023
198
views
2
comments
0
Show more
1
...
20
21
22
23
24
...
372
Please enable JavaScript to continue using this application.