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
Filip
Level 6
Question about the task
Summation
Java Syntax
,
Level 4
,
Lesson 3
Under discussion
I can`t meet the secound requirement.
Hello everyone! I`ve been trying to solve this task for manny hours, but nothing came up to my head. I`ve been trying with simply while loop, without hasNextInt() and hasNextLine() ect. but nothing meets the second requirement. Pls help. I`d like to solve and understand this task. Thanks! Proposing
19.01.2023
410
views
5
comments
0
Jesufemi Adejare
Level 10
Question about the task
Chess board
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
validation failing for chess board task
help. im getting right output but last 3 validations checks failing for the chess task
22.05.2024
18
views
1
comment
0
Amantai
Level 46
Shymkent
Question about the task
Working with Java 8's DateTime API
Java Collections
,
Level 10
,
Lesson 10
Resolved
Output is correct
What is the problem?
21.05.2024
19
views
2
comments
0
Arnold Hauptricht
Level 21
Question about the task
Positive and negative numbers
Java Syntax
,
Level 3
,
Lesson 10
Under discussion
Program runs fine
I've tested manually all given scenarios and they work just fine. I think there is a problem with this solutions testing requirements
24.04.2024
48
views
3
comments
0
Anonymous #11514249
Level 6
Atlanta
Question about the task
Cutting down the middle
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
I believe this task should be clarified
Hello all, The condition listed for passing this check isn't as clear as it should be; the example that is listed only has you place the first and second row's interior characters with the hyphen. However, the passing solution wants you to replace every interior character with a hyphen. This is wh
21.05.2024
19
views
1
comment
0
Jesufemi Adejare
Level 10
Question about the task
Count the number of cats
Java Syntax
,
Level 3
,
Lesson 5
Resolved
count variable error
please what could be wrong with my code? I keep getting the error that only one count variable should exist or so. and I only see one count class variable here. public class Solution { public static void main(String[] args) { Cat cat1 = new Cat(); //write your code here
20.05.2024
18
views
2
comments
0
Morteza Jalalvand
Level 31
Question about the task
Pharmacy
Java Core
,
Level 7
,
Lesson 10
New
possible bug in the correct solution
The allDrugs map is static but the methods of DrugController are not. Making its methods synchronised still allows simultaneous access to the allDrugs via 2 different DrugController objects. Either the methods should be static too or or synchronized(DrugController.class) should be used.
18.05.2024
10
views
0
comments
0
Mike S
Level 28
Saint Louis
Question about the task
Racer (Part 3/28)
Games
,
Level 0
,
Lesson 5
Under discussion
1,000 Exceptions, but Code Displays Fine
I felt like I had all of the steps worked out and the code made sense to me. But when I ran and verified... it blew up in my face. A lot of exceptions and red font on the console, not a single green check, and not even a coherent-looking grid. Any hints to help me advance on this one?
04.01.2023
682
views
7
comments
16
Inna
Level 9
United Kingdom
Question about the task
Binary converter
Java Syntax
,
Level 9
,
Lesson 2
Resolved
toBinary(int) method works as it is required but doesn't pass validation
Hi everyone, Can anybody explain what the validator expect from toBinary(int) method ? It converts the integer and returns its string representation It returns an empty string if the input parameter is less than or equal to 0. What is wrong?
17.05.2024
14
views
2
comments
0
Jed
Level 1
Question about the task
Tic-tac-toe game (24/24)
Games
,
Level 0
,
Lesson 7
New
Why does it always receive with APP_PUBLISH_ERROR
So I modified Tic-Tac-Toe to Quantum Tic-Tac-Toe, which works perfectly in other coding websites, but this time it is giving me an error. Is it my internet? Please help.
17.05.2024
10
views
0
comments
0
Ajit Kumar
Level 1
Under discussion
yes
write a program to enter cost and selling price of an article calculate and display how much percent of profit and loss to be calculated
15.05.2024
14
views
1
comment
0
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
16.02.2020
1434
views
5
comments
7
Bob
Level 10
United States of America
Question about the task
Need for speed
Java Syntax
,
Level 10
,
Lesson 2
Under discussion
What am I doing wrong?
I have tried a couple of different things, but I am at a loss. Perhaps I am misinterpreting the requirements? A hint would be appreciated.
15.05.2024
21
views
2
comments
0
Scott
Level 14
Ashburn
Question about the task
Four mistakes
Java Core
,
Level 3
,
Lesson 2
Under discussion
Why it has to be static class Hobby?
Why it has to be static class so we can use following line. System.out.println(new Hobby().toString());
25.04.2020
1025
views
2
comments
0
Joe
Level 5
Salt Lake City
Question about the task
Minesweeper (Part 1/16)
Games
,
Level 0
,
Lesson 0
Under discussion
Would love some help as to why this isn't passing the third criteria.
package com.codegym.games.minesweeper; import com.codegym.engine.cell.*; public class MinesweeperGame extends Game { }
20.06.2020
1376
views
8
comments
15
Evgeniia Shabaeva
Level 16
Budapest
Question about the task
Verifying existence
Java Syntax
,
Level 14
,
Lesson 1
Resolved
Same as the suggested solution but doesn't work
Well, this quite simple code of mine doesn't only produce the expected output but also fully coincides with the suggested solution (I checked it line by line). Still, it does not pass the verification. Could there be a bug?
13.05.2024
23
views
4
comments
0
Anonymous #11512242
Level 5
Question about the task
Sprucing up your resume
Java Syntax
,
Level 2
,
Lesson 4
Under discussion
Im trying to get all four lines to print lowercase?
I add the .toLowerCase option to the three lines, but how can I make the system out print on top (the first instance).
13.05.2024
15
views
1
comment
0
haayden
Level 18
United States of America
Question about the task
The end of times
Java Syntax
,
Level 17
,
Lesson 6
Resolved
Time Conversion
I understand what the task is trying to make me do, but I don't understand how to do it. I've tried using millisecond to second conversions, but I can't seem to convert it, because I'm not getting the exact amount the milliseconds are giving me.
16.05.2022
486
views
7
comments
0
Lord_Gabo
Level 11
Arzachena
Question about the task
This age doesn't work for me…
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
The Person class's adjustAge method should increase the Person's age by 20. Why is my code not good?
After three days I need to ask for help! Where am I going wrong? The error being validated tells me The Person class's adjustAge method should increase the Person's age by 20. The printed output is 40 , I think I did not understand well .. I tried with: Person person = new Person(); this.age = age
18.03.2022
843
views
4
comments
2
psc
Level 14
Question about the task
Objects of inner and nested classes
Java Syntax
,
Level 12
,
Lesson 4
Under discussion
Outer()
Why he write in first object new Outer() .Inner() Why 2 ()?
08.05.2024
25
views
1
comment
0
HaeWon Chung
Level 17
Boston
Question about the task
Neo
Java Core
,
Level 3
,
Lesson 11
Resolved
I don't know why this code runs
After reading answers from other questions, I understand that I have to change DBObject to User to pass the verification. However, even without changing it, the code displays correct answer. Could someone please explain why it displays correct answer?
16.05.2020
541
views
4
comments
0
rags 3
Level 5
Wichita
Under discussion
sdk 16.02
with the upgraded version of plugin im assuming no need to set version to 16.02 plugin and if so those pages need to be removed?
03.05.2024
15
views
0
comments
0
Md Reyan Ahmed
Level 2
kolkata
Under discussion
certificate
Can i get certificate after completing the course without any subscription
01.05.2024
17
views
0
comments
0
Bashka
Level 4
Russia
Question about the task
Maximum of entered numbers
Java Syntax
,
Level 4
,
Lesson 5
Under discussion
Hallo! Someone help me solve the first task about the max event numbers?
Help me, please...
01.05.2024
22
views
1
comment
0
Marcel
Level 23
Stuttgart
Question about the task
Triangle
Java Syntax
,
Level 4
,
Lesson 3
Under discussion
Last requirement not met
The first 3 reqs are met, where did I get the last one wrong?
22.04.2024
44
views
3
comments
0
X SS
Level 6
Question about the task
Reverse
Java Syntax
,
Level 6
,
Lesson 3
Under discussion
Says can't find symbol
Please look at my solution it prompts can't find symbol on 23rd line? Why?
25.04.2024
37
views
1
comment
0
rags 3
Level 5
Wichita
Question about the task
Price of apples
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
how is the Apple.addprice working tried to switch with subtract doesn't work
I understand that your creating a Apple class apple and passing variable applePrice to it but i want to know how the addprice works how does the operator work tried to exchange subtract but didnt work like Apple.subtractPrice(100);
24.04.2024
25
views
1
comment
0
FelixUjo
Level 35
Gijón
Question about the task
Archiver (part 8)
Java Multithreading
,
Level 7
,
Lesson 15
Under discussion
I do not understand why it does not validate the task. Help
If any exception other than a NoSuchZipFileException occurs, then display "An error occurred. Please check the entered data."
22.04.2024
41
views
1
comment
0
Evgeniia Shabaeva
Level 16
Budapest
Question about the task
Binary to hexadecimal converter
Java Syntax
,
Level 10
,
Lesson 2
Under discussion
I wonder if I could've made it shorter
I've just written the longest code in my short professional life:) It produces the expected output but I'm wondering if I could make it any simpler. The second issue is that after verification the website says, "Be sure that the toHex(String) method returns an empty string if it receives an empty s
18.04.2024
75
views
9
comments
0
Evgeniia Shabaeva
Level 16
Budapest
Question about the task
StringTokenizer
Java Syntax
,
Level 10
,
Lesson 6
Under discussion
Which task conditions am I missing?
I've written code that has to use a StringTokenizer and split the input string into parts based on the delimiter variable, while the maximum possible number of tokens must be 6. The result must be returned without null tokens. I guess I've done all that and my code produces the required output. What
22.04.2024
20
views
2
comments
0
Show more
1
2
3
...
367
Please enable JavaScript to continue using this application.