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
Anonymous #10987379
Level 22
Question about the task
Binary to hexadecimal converter
Java Syntax
,
Level 9
,
Lesson 2
Resolved
What is going wrong in my toBinary(String) method?
I have tested it with various online calculators, and it seems to output the correct solution. Additionally, I looked through the other questions pertaining to this task, but I must be missing something because I cannot figure out where I am going wrong. Any help, even if it is just an input that do
04.06.2022
422
views
2
comments
1
Isma
Level 41
Madrid
Under discussion
IntelliJ shows you need the CodeGymTasks project to continue. Download it?
I've been working in the same project since the first level. When I download the project it's empty as if any of the tasks had been completed. How can I fix this issue?
21.01.2021
492
views
3
comments
3
Willi Ehrmann
Level 37
Question about the task
Word search
Java Core
,
Level 10
,
Lesson 10
Under discussion
Code works but last Condition is not validating? I checked for a lot of cases and didn't find an error so far. plz help.
import java.util.ArrayList; import java.util.List; /* Word search */ public class Solution { public static void main(String[] args) { // int[][] wordSearch = new int[][]{ // {'f', 'd', 'e', 'r', 'l', 'k'}, // {'u', 's', 'a', 'm', 'e', 'o'}, //
21.04.2023
176
views
1
comment
0
Anonymous #11100313
Level 24
Question about the task
R or L
Java Syntax
,
Level 13
,
Lesson 5
Resolved
Please help I keep getting OutOfMemoryError: Java heap space
I don't know how to solve this error :((
13.04.2023
237
views
2
comments
0
matemate123
Level 50
Kraków
Question about the task
Knowledge is power!
Java Multithreading
,
Level 4
,
Lesson 9
Resolved
Guys I need a little explanation
I read today a little code with MessageFormat and Choice format class but my mind got a little confusion. I haven't enough understanding what's going on, and why in situation in this task in printStocks method. I had IllegalArgumentException, I had to add one "null" to Format[] testFormats = {null,
17.04.2023
281
views
4
comments
0
Reyaz Ahmad Bhat
Level 4
Anantnag Jammu And Kashmir
Question about the task
Conscription
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
Solution
Scanner scanner = new Scanner(System.in); String name = scanner.nextLine(); int age = scanner.nextInt(); if (age >= 18) { if (age <= 28) { System.out.println(name + militaryCommissar); } } }
19.02.2023
261
views
2
comments
0
Nitin Saini
Level 4
Question about the task
Quadrants
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
what's wrong with this task
I have written everything correctly but still it is showing error please help at your earliest
23.03.2023
274
views
4
comments
0
Coboliste
Level 46
Casablanca
Question about the task
CashMachine (part 11)
Java Collections
,
Level 9
,
Lesson 15
Resolved
Infinite loop !
Hello everyone, Please, can someone tell me why the validator keeps telling me that I have an infinite loop (in LoginCommand implementation)? Thanks.
16.04.2023
208
views
3
comments
0
Anonymous #11263925
Level 11
United States of America
Question about the task
Remove duplicate strings
Java Syntax
,
Level 7
,
Lesson 3
Under discussion
Fails validation
The code seems to be working but is failing validation. Cam someone pls tell why?
09.02.2023
202
views
1
comment
1
Reyaz Ahmad Bhat
Level 4
Anantnag Jammu And Kashmir
Question about the task
Looking for the maximum
Java Syntax
,
Level 3
,
Lesson 7
Under discussion
Solution
Scanner scanner = new Scanner(System.in); int numberA = scanner.nextInt(); int numberB = scanner.nextInt(); int main = numberA > numberB ? numberA :numberB; System.out.println(main);
20.02.2023
230
views
1
comment
1
seanyt
Level 2
Bangkok
Under discussion
tivsub
u
13.04.2023
166
views
1
comment
0
Willi Ehrmann
Level 37
Question about the task
Introducing properties
Java Core
,
Level 10
,
Lesson 2
Under discussion
Why do I get this strange error?
import java.io.*; import java.util.*; /* Introducing properties */ public class Solution { public static Map properties = new HashMap<>(); public void fillInPropertiesMap() throws Exception { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.
12.04.2023
151
views
1
comment
0
John
Level 17
Mansfield
Question about the task
Stack trace revisited
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
Can someone explain what's happening?
How can i able to solve these task, it's not explained well yet and as i seek for the solution of others it's very confusing because of very unfamiliar methods . someone explain to me or give me link or something :(
17.04.2021
777
views
10
comments
2
Guadalupe Gagnon
Level 37
Tampa
Question about the task
Sometimes anonymity is so nice!
Java Multithreading
,
Level 3
,
Lesson 8
Resolved
Not passing last 5 requirements
Not able to pass: I was trying a whole bunch of different ways to return the string for the getQuery() method to see if any of them passed. I even tried removing 'abstract' from getQuery and typing in: return "SELECT * FROM " + ((Class) ((ParameterizedType) this.getClass().
12.04.2019
1319
views
6
comments
3
Yoshi
Level 14
Germany
Question about the task
Minesweeper (Part 3/16)
Games
,
Level 0
,
Lesson 0
Resolved
what is the problem?
I dont understand why the last requirement isnt met.
10.04.2023
233
views
5
comments
0
Nitin Saini
Level 4
Question about the task
Comparing strings by reference
Java Syntax
,
Level 3
,
Lesson 9
Under discussion
why is it showing that appropriate messages are not shown
please help
24.03.2023
218
views
2
comments
0
Justin Smith
Level 41
Greenfield, USA
Question about the task
Aggregator (part 15)
Java Collections
,
Level 8
,
Lesson 15
New
Not passing much, is use of select over getElementsByClass problematic?
Most of my code is similar to the solution code, but I noticed that the solution code tends to search for Element objects matching a class by using the getElementsByClass method, and my code generally uses the select() method (this seems to be more in use currently when searching for how to do this)
09.04.2023
191
views
0
comments
0
Anonymous #10758878
Level 0
Under discussion
how do i sign. out
2
19.06.2021
874
views
5
comments
0
Mike S
Level 28
Saint Louis
Question about the task
Advanced file search
Java Collections
,
Level 1
,
Lesson 2
Under discussion
Working Correctly With Test Data & Folder, But Barely Verifying Anything
I think the heading says it all here...
05.04.2023
184
views
3
comments
0
Tangerin
Level 27
Chongqing
Question about the task
Symbol frequency
Java Core
,
Level 8
,
Lesson 11
Under discussion
How to sort by ASCENDING ASCII CODE?
I believe I did it but the verification system didn't think so... Great delight if you post your idea, thx
20.07.2019
2566
views
8
comments
0
Azja
Level 32
Krakow
Question about the task
Snake (part 13)
Java Multithreading
,
Level 2
,
Lesson 18
Resolved
What is wrong with sleep method?
What should be done here?
15.05.2019
1465
views
1
comment
2
Mike S
Level 28
Saint Louis
Question about the task
Iterating through a file tree
Java Collections
,
Level 1
,
Lesson 2
Under discussion
Why Can I Not Even Rename This File??
One step forward and two steps back this feels like... I can't even get the file renaming task verified. I even just copied and pasted someone else's code for that section who for-sure was passing that and it doesn't change the name of the file. What the heck?? So aggravating. I can't imagine what c
31.03.2023
456
views
11
comments
0
muchemi
Level 5
United States of America
Question about the task
Triangle
Java Syntax
,
Level 3
,
Lesson 6
Resolved
Can anyone kindly confirm that my solution is correct? I tested it manually and it appears to be fine.
//write your code here Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); if(a >= (b + c) || b >= (a + c) || c >= (a + b)){ System.out.println(TRIANGLE_EXISTS)
01.04.2023
276
views
2
comments
0
Bill Wu
Level 29
Wellington
Question about the task
Inner
Java Multithreading
,
Level 3
,
Lesson 4
Resolved
where is the problem?
I tried many times with different ways of initializing the fields, but always fail. The recommendation from mentor shows that The elements of the innerClasses array must be null. Initialization should only happen in the getTwoSolutions method. But they seem to be satisfied already.
12.04.2019
1677
views
5
comments
2
Bill Wu
Level 29
Wellington
Question about the task
Prevent the creation of instances of a class
Java Multithreading
,
Level 3
,
Lesson 2
Resolved
how to block the creation of instances
I think the simple private constructor will do, but not verified. I can't figure out why.
12.04.2019
1333
views
4
comments
2
matemate123
Level 50
Kraków
Question about the task
Snake (part 17)
Java Multithreading
,
Level 2
,
Lesson 18
New
What's wrong?
I haven't ideas.
03.04.2023
150
views
1
comment
0
Karolina Napieracz
Level 25
Poland
Question about the task
Minesweeper (Part 1/16)
Games
,
Level 0
,
Lesson 0
Resolved
How to run game in intellij IDEA
Hello, What should I do to run the game in intellij IDEA? Run button is disabled. The method shown in https://codegym.cc/help/12750 doesn't work. the only way to check my results is to run the code through the CodeGym website. I am attaching a screenshot, maybe it will help in solving the problem
01.04.2023
249
views
2
comments
0
Mateo
Level 26
Zagreb
Question about the task
Minesweeper (Part 9/16)
Games
,
Level 0
,
Lesson 0
Resolved
Can somebody explain the last condition?
Last condition makes no sense...
12.07.2019
1309
views
4
comments
1
Gellert Varga
Level 23
Szekesfehervar
Question about the task
Calculating salaries
Java Core
,
Level 9
,
Lesson 11
Resolved
Should they be sorted alphabetically or in ascending order of salaries??
I have arranged them in the order of the payments...
10.10.2021
335
views
1
comment
1
shabarish kumar
Level 20
Hyderabad
Question about the task
Calculating salaries
Java Core
,
Level 9
,
Lesson 11
Under discussion
Last condition is not passing could anyone help me please
Last condition is not passing could anyone help me please
15.05.2020
732
views
1
comment
1
Show more
1
...
18
19
20
21
22
...
366
Please enable JavaScript to continue using this application.