Promotion
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
Josue Matheus
Level 1
fisick
New
Maria
teste número 1
17.10.2024
74
views
0
comments
0
Manish Sinha
Level 1
london
Question about the task
Implementing an interface using a local class
Java Multithreading
,
Level 4
,
Lesson 6
Resolved
not sure why it's failiing. Output looks all good.
Pls. help.
23.10.2020
556
views
7
comments
0
Kingpvz
Level 31
Question about the task
A method for all seasons
Java Syntax
,
Level 7
,
Lesson 2
Under discussion
i'm not doing that
why 10? it's such a waste of time
11.10.2024
119
views
3
comments
0
Evgeniia Shabaeva
Level 40
Budapest
Question about the task
Tracking changes
Java Core
,
Level 9
,
Lesson 11
Resolved
How do we ensure the alteration of labels properly?
This is quite an interesting task, actually. I'm supposed to create a list that merges lines from two files: the original one and its updated version. The lines should be preceded by suitable labels: SAME, REMOVED OR ADDED. The tricky requirement is that the ADDED and REMOVED labels should not be us
25.09.2024
138
views
5
comments
0
17022
Level 41
Guangzhou
Question about the task
Snake (Part 7/20)
Games
,
Level 0
,
Lesson 1
New
import com.codegym.engine.cell.*;包不存在
import com.codegym.engine.cell.*; java: 程序包com.codegym.engine.cell不存在
11.10.2024
85
views
1
comment
0
Rene
Level 28
Question about the task
Even characters
Java Core
,
Level 9
,
Lesson 5
Resolved
Can't pass the 2nd requirement even with an explicit close() statement.
I tried it without a catch block and with one. And also added an explicit close statement (not needed) in this try-with-resources block in my last attempt. The 2nd requirement just won't give me a pass. What is the catch here? It annoys the hell out of me. I learned from the web that in a program
07.10.2024
97
views
2
comments
0
ugabuga
Level 36
Question about the task
Space (part 16)
Java Collections
,
Level 3
,
Lesson 15
Under discussion
Validator won't validate
Even with the "official" CodeGym Solution the methods checkBombs() and checkRockets() will not validate. The error messages also don't help.
05.10.2024
113
views
2
comments
0
Pinapleu
Level 11
Question about the task
Remove duplicate strings
Java Syntax
,
Level 6
,
Lesson 4
Under discussion
Yet again, correct solution but not right for the exercise, why
I don't understand what's the issue with the code honesty
02.10.2024
92
views
1
comment
0
lonk
Level 7
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
150
views
2
comments
0
Dustin Lerch
Level 9
United States of America
Question about the task
Cutting down the middle
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
What am I doing wrong
I tried so many different things, like replacing the all the public static chars with the '-'s; Ive tried the chars [1] = new char [] {'m', '-',.......} for both elements 1 &2; I cant figure out how to loop the new elements into it...i'm in a rough patch with this one.....
14.12.2022
400
views
2
comments
0
Pinapleu
Level 11
Question about the task
Minimum of N numbers
Java Syntax
,
Level 6
,
Lesson 3
Under discussion
My code fails the first condition
Why does it fail the first condition, I did everything as told
28.09.2024
104
views
4
comments
0
slowly
Level 8
Mörfelden-walldorf
Question about the task
Chess board
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
Why wrong?
Why wrong?
29.09.2024
99
views
1
comment
0
Pinapleu
Level 11
Question about the task
Combining arrays
Java Syntax
,
Level 6
,
Lesson 2
Under discussion
This is kinda dumb
My first solution used only one for loop to copy both strings which worked exactly as was necessary and the output was good, didn't use any hard coded information like does the loop up to 20, but when I pressed correct solution I was met with the same code just in two for loops? That's honestly pret
28.09.2024
84
views
1
comment
0
Arkoo
Level 38
Germany
Question about the task
Prices
Java Core
,
Level 8
,
Lesson 11
Under discussion
I can't understand why it doesn't pass validation
Only the first 3 requirements are validated, not even the last about closing streams
23.09.2024
93
views
1
comment
0
Βάιος Αργυρόπουλος
Level 24
Question about the task
Set of cats
Java Syntax
,
Level 14
,
Lesson 9
Under discussion
Can't understand whats wrong....
It seems that my code does fullfil the requirements but i cannot pass the last requirement. when my code runs it shows that exactly two Cat objects are in the Set. This means that an object is being removed, but validation test says otherwise. Anyone help ?
21.09.2024
106
views
1
comment
0
GOUTHAM B J
Level 1
New
changing Java learning pattern
How to change Java learning patterns from story to minimum material in this Codegym App
20.09.2024
87
views
0
comments
0
Augusto Ghio
Level 7
Question about the task
Comparing strings by reference
Java Syntax
,
Level 3
,
Lesson 9
Under discussion
no question. a critique
i do it with sout(strings.equals(string2) ? same : different) it works great and fine. not need of if-else structure
03.09.2024
103
views
2
comments
0
Evgeniia Shabaeva
Level 40
Budapest
Question about the task
Request parser
Java Core
,
Level 5
,
Lesson 12
Resolved
The program displays what it needs but not validated. What am I doing wrong?
It's probably time to post a question about this task. I wrote two variants of this code. The first one creates two lists, one with keys and one with values. You can see that version in comments. The second variant uses a HashMap instead (which, obviously, has keys and values). That is the main co
23.07.2024
149
views
2
comments
0
Evgeniia Shabaeva
Level 40
Budapest
Question about the task
Prices
Java Core
,
Level 8
,
Lesson 11
Resolved
Help me please with n3 & n4
I've written this code, but I can't pass the 3d and 4th requirements, i.e. I need to make sure the product list remains unchanged when you run the program without arguments, and when the program is run with the arguments "-c productName price quantity", a new line with the corresponding product shou
03.09.2024
144
views
8
comments
0
Βάιος Αργυρόπουλος
Level 24
Question about the task
But that's how I want it
Java Syntax
,
Level 12
,
Lesson 7
Resolved
First question that i got stuck....
Can anyone plz give me a hint of how can i get this problem solved ?? To symmarise my take on the problem : - I think that my logic on if - if-else statements are right. - I am not sure about the conversions and if the exercise imply something i am missing.
08.09.2024
116
views
1
comment
0
Evgeniia Shabaeva
Level 40
Budapest
Question about the task
ABCs
Java Core
,
Level 8
,
Lesson 11
Resolved
Why not this simple way?
The validator says I'm not counting lowercase letters while I think I am. Or am using the regex the wrong way in line 23? I tried eualsIgnoreCase(), it didn't work either. I've also tried some more complicated code, in which I used StringBuilder and Treeset, see below). In this variant the validato
16.08.2024
167
views
4
comments
0
slowly
Level 8
Mörfelden-walldorf
Question about the task
Somewhere in the middle
Java Syntax
,
Level 4
,
Lesson 10
Under discussion
Solution not accepted
Why is my solution not accepted?
25.08.2024
121
views
1
comment
0
nealgoogs
Level 21
Eliot
Under discussion
Why cant I access this page?
https://codegym.cc/search?query=math when i search for math, to learn about java methods for the math class. I cant access the lesson?
24.08.2024
93
views
1
comment
0
Martin G
Level 6
Under discussion
Can anyone help me understand the difference?
Hi there I'm completely new to programming and just started this course yesterday! All was going well until I reached the New Java Syntax, Level 2, Lesson 8. For a bit of background,. in the previous lesson(Level 2, Lesson 7) I was thought of the Scanner command and its implications (Which i feel li
24.08.2024
102
views
1
comment
0
Timothy Cutlip
Level 4
Marietta
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Resolved
How is my code wrong?
I get the write output on screen. i called the function twice through a loop in the main function and a separate loop in the print function to get a total of 4 outputs all on separate lines but some how is still wrong. can anyone explain?
11.02.2019
2435
views
6
comments
1
X SS
Level 25
Question about the task
Bridges
Java Core
,
Level 4
,
Lesson 8
Under discussion
Why are static statements necessary? If I don't put them it gives a error
public class Solution { public static void main(String[] args) { println(new WaterBridge()); println(new SuspensionBridge()); } // Add println method here interface Bridge{ int getCarsCount(); } static class WaterBridge implements Bridge{ pub
23.08.2024
117
views
1
comment
0
DolciNShortE
Level 3
Fort Worth
Question about the task
This age doesn't work for me…
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
Why is the person object created before the Person class???
I am having a very difficult time understanding this task. I've worked on it for about 3 days now and I'm still a little confused. I think I understand the concept of using the "this" keyword, though I'm still a little fuzzy on it. It wasn't explained well at all. But what I'm really confused ab
11.10.2021
885
views
2
comments
2
Anonymous #11553756
Level 1
Under discussion
generate AI Robot
how to add AI trading Robot
17.08.2024
104
views
1
comment
0
umesh vadachhak
Level 30
Bangalore
Question about the task
Archiver (part 11)
Java Multithreading
,
Level 7
,
Lesson 15
Resolved
Not able to pass the last two conditions
The code is correct and are according to the requirment but not passing the conditions
09.08.2024
116
views
2
comments
0
GOVARDHANA GOWDA
Level 2
Durg
Question about the task
Kind words for the teacher
Java Syntax
,
Level 1
,
Lesson 4
Under discussion
finding enter option
I write a code but how can I find a enter button
19.07.2024
136
views
2
comments
0
Show more
1
2
3
4
5
6
7
...
371
Please enable JavaScript to continue using this application.