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
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
465
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
825
views
4
comments
2
psc
Level 13
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
20
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
531
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
12
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
648
views
7
comments
11
Md Reyan Ahmed
Level 2
kolkata
Under discussion
certificate
Can i get certificate after completing the course without any subscription
01.05.2024
13
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
19
views
1
comment
0
Marcel
Level 19
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
40
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
33
views
1
comment
0
Arnold Hauptricht
Level 13
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
27
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
20
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
35
views
1
comment
0
Evgeniia Shabaeva
Level 14
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
72
views
9
comments
0
Evgeniia Shabaeva
Level 14
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
15
views
2
comments
0
Dương Tiến Đạt
Level 41
Ha Noi City
Question about the task
Chat (part 8)
Java Multithreading
,
Level 6
,
Lesson 15
Under discussion
What's wrong?
I couldn't seem to pass the "The name request should repeated until the message type of the response is equal to MessageType.USER_NAME." validation. Can someone tell me why?
27.08.2020
505
views
2
comments
0
rags 3
Level 5
Wichita
New
can i reset where im at
Hi started while back then quit do to money is there a way to reset to start lesson one again so i can refresh have bought year program now so im good for while
21.04.2024
9
views
0
comments
0
Java coffee
Level 4
Question about the task
Summation
Java Syntax
,
Level 4
,
Lesson 0
Under discussion
Summation exercise with Boolean values
Hi, can someone pls explain why the Boolean isExit variable is initially initialized to false and why the boolean in the while loop condition is set as true (!isExit) only for the Boolean in the if condition to be set to true. It's quite confusing to me. I found it hard to come up with the correct s
20.04.2024
22
views
2
comments
0
Evgeniia Shabaeva
Level 14
Budapest
Question about the task
Remove duplicate strings
Java Syntax
,
Level 6
,
Lesson 4
Resolved
What's wrong if the output's right?
The code I've written reads 6 strings from the console, finds duplicated ones among them, substitutes them with null and produces the expected output. Why does it still fail validation (in particular, does not meet the 2nd requirement)?
22.03.2024
127
views
9
comments
0
Evgeniia Shabaeva
Level 14
Budapest
Question about the task
Filling an array
Java Syntax
,
Level 6
,
Lesson 8
Resolved
What's wrong if the output's right?
I'm wondering which particular requirements are not met by my code if it produces the expected output...
25.03.2024
66
views
3
comments
0
Evgeniia Shabaeva
Level 14
Budapest
Question about the task
Magic 8 ball
Java Syntax
,
Level 9
,
Lesson 2
Resolved
What's wrong?
I've written some code that seems logical to me. Why is it still not meeting the requirements I wonder?
03.04.2024
75
views
4
comments
0
Evgeniia Shabaeva
Level 14
Budapest
Question about the task
Increments
Java Syntax
,
Level 9
,
Lesson 7
Resolved
What is the order this code compiles?
I'm interested in the order 'b' is calculated here: int a = 3; int b = a++ + (a-- * a++); We've read in the lesson that the 1st priority belongs to parenthesis, so we begin with (a-- * a++), right? The 2nd priority is the unary operator, but which one? The lesson says it works from right to
11.04.2024
35
views
2
comments
0
Evgeniia Shabaeva
Level 14
Budapest
Question about the task
Binary converter
Java Syntax
,
Level 10
,
Lesson 2
Resolved
What's wrong with the second method?
The task is to write code to convert a decimal to a binary number and vice versa. I've kind of finally written the 'toBinary' method that works but the 'toDecimal' one keeps making an error. I still can't see what I'm doing wrong.
12.04.2024
23
views
2
comments
0
Ekaterina
Level 28
Tbilisi
Question about the task
QR-code reader
Java Syntax
,
Level 8
,
Lesson 2
Under discussion
Can't pass last requirement
Received: "The task failed to pass testing: Be sure that the program compares arrays using the deepEquals method of the Arrays class." But I am using Arrays.deepEquals in the 30th line of code. Please help me understand what I'm doing wrong.
25.01.2024
207
views
6
comments
0
hidden #10668264
Level 7
Question about the task
Minesweeper (Part 1/16)
Games
,
Level 0
,
Lesson 0
Under discussion
Engine symbol unresolved
I typed the import statement: import com.codegym.engine.cell.*; but got an error message saying cannot resolve symbol engine. Has anyone come across this issue?
17.09.2020
410
views
8
comments
0
Djole
Level 41
Belgrade
Question about the task
Aggregator (part 6)
Java Collections
,
Level 8
,
Lesson 15
Resolved
not sure what is wrong
@Override public List getJobPostings(String searchString) { try { Document doc = Jsoup.connect("https://www.linkedin.com/").get(); } catch (IOException e) { e.printStackTrace(); } return Collections.emptyList(); }
18.06.2019
1250
views
2
comments
0
Jesú
Level 14
Madrid
Resolved
How to refresh tasks in the IntelliJ CodeGym plugin?
No new tasks appear, despite new tasks being available from advancing through the course.
07.03.2024
113
views
1
comment
0
Daniel Njuguna
Level 14
Kiambu
Under discussion
What's wrong with my code?
package com.codegym.task.task09.task0902; /* Stack trace revisited */ public class Solution { public static void main(String[] args) throws Exception { method1(); } public static String method1() { method2(); //write your code here StackTraceElement[] st
05.02.2019
1092
views
2
comments
0
Mfon Joseph
Level 2
Question about the task
2048 (Part 1/18)
Games
,
Level 0
,
Lesson 2
Under discussion
I can't understand the basics
why can't I understand the basic concepts
29.03.2023
238
views
1
comment
0
Mayank Chandratre
Level 20
Question about the task
Autoboxing
Java Syntax
,
Level 13
,
Lesson 1
Resolved
Will it be same?
Are the Integer a = new Integer(10); and Integer a = Integer.valueOf(10); commands same?
05.11.2022
268
views
3
comments
0
Show more
1
2
3
...
366
Please enable JavaScript to continue using this application.