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
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
12
views
1
comment
0
Arnold Hauptricht
Level 9
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
11
views
1
comment
0
rags 3
Level 3
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
15
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
26
views
1
comment
0
Marcel
Level 6
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
25
views
2
comments
0
Evgeniia Shabaeva
Level 11
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
65
views
9
comments
0
Evgeniia Shabaeva
Level 11
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
14
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
500
views
2
comments
0
rags 3
Level 3
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
8
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
19
views
2
comments
0
Evgeniia Shabaeva
Level 11
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
117
views
9
comments
0
Evgeniia Shabaeva
Level 11
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
61
views
3
comments
0
Evgeniia Shabaeva
Level 11
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
73
views
4
comments
0
Evgeniia Shabaeva
Level 11
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
34
views
2
comments
0
Evgeniia Shabaeva
Level 11
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
21
views
2
comments
0
Ekaterina
Level 24
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
205
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
403
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
1246
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
110
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
1086
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
232
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
262
views
3
comments
0
Aduroja ayomide Philip
Level 2
Ado ekiti
Under discussion
run it
import tkinter as tk def calculate_area(): try: radius = float(entry_radius.get()) height = float(entry_height.get()) area = 2 * 3.14 * radius * (radius + height) result_label.config(text=f"Area of the cylinder: {area}") except ValueError:
10.04.2024
133
views
0
comments
0
Zubin Nair
Level 7
New Delhi
Question about the task
String array in reverse order
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
I am not able to understand 3 and 4th requirements
I am not able to understand 3 and 4th requirements Pls explain with required input and output Reply asap
18.09.2018
1647
views
10
comments
0
#mr.coder
Level 5
Question about the task
2048 (Part 1/18)
Games
,
Level 0
,
Lesson 2
Under discussion
what classes are. What are objects?"
what classes are. What are objects?"
20.07.2021
571
views
1
comment
0
007 X
Level 0
Nakhon Pathom
Question about the task
2048 (Part 1/18)
Games
,
Level 0
,
Lesson 2
Under discussion
My game.
hello everyone , I am a student. I got a job to make games with java. But I am not good at this language. Can anyone help me?
29.03.2021
461
views
0
comments
0
Angus McDonald
Level 5
Sydney
Question about the task
Rounding numbers
Java Core
,
Level 8
,
Lesson 11
Under discussion
Output seems fine when testing.. can't seem to pass
I've had a really good look through other solutions. A number of variations that I can't wrap my head around.
09.06.2020
792
views
7
comments
0
Angus McDonald
Level 5
Sydney
Question about the task
Sequential file output
Java Core
,
Level 6
,
Lesson 13
Resolved
Last condition just won't validate!
I've tried a couple different versions.. some I built myself.. others with help from other questions/solutions here... I've left various versions in commented out. I cannot for the life of me get the last condition to validate correctly. I suspect that the " " white space is being added to the end
08.06.2020
556
views
11
comments
0
Fairoz Logde
Level 14
Mumbai
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Logic Help
What is wrong in my code since my code is displaying wrong answer please help me where I am wrong with my logic.
16.11.2018
2077
views
14
comments
1
Lucas Hoage
Level 14
Savannah
Question about the task
Task about algorithms
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Feel like I'm on the right track but not sure.
I understand the nature of the boolean compare function. If true, do this, if false do second. What I'm not really understanding is why the array is not assigning a value to when true or false. I expect that is should be doing this but I'm seeing nothing when I run test output in between the loops.
03.06.2020
491
views
9
comments
0
Show more
1
2
3
...
366
Please enable JavaScript to continue using this application.