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
Angel Stefan Arjoca
Level 26
Bucharest
Question about the task
ABCs
Java Core
,
Level 8
,
Lesson 11
Resolved
I don't understand this one!
I don't understand what is the conexion between args and the letters of english alphabet. How i read the english alphabet from the file args. I don't need the code, i need the pseudocode because i don't understand. Tk!
19.08.2020
432
views
3
comments
0
M Till
Level 7
San Jose
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
100% sure this is a correct solution, but still fails
Upon verification it says "took too long, looks like you have an infinite loop", despite it even showing my output is correct. It is not an infinite loop, I added condition that changes the while condition to false and a break statement(even though one or the other is sufficient) in two places in wh
25.07.2020
486
views
4
comments
0
Jurabek Kuralbaev
Level 8
Tashkent
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
How can I resolve it?
last requirement does not met I did all right. Please help me with this!
29.07.2020
546
views
4
comments
0
Henrique
Level 41
São Paulo
Question about the task
Refactoring the Chain of Responsibility pattern
Java Multithreading
,
Level 9
,
Lesson 9
Resolved
I think the problem is with the constructor. HELP PLIZ
when i remove the level field, the constructors crash, and i need them to make it verify. what's the solution?
18.08.2020
296
views
3
comments
0
Eddie
Level 16
Jacksonville
Question about the task
Making the top ten
Java Core
,
Level 2
,
Lesson 12
Resolved
Not sure this is not working.
Hello Fellow Codegym, I am not sure why my code is not passing the conditions. I must be overlooking something. The overloaded transformValue method must double the number passed to it. - line 19 is overloaded, doubles the number by adding itself The main method should only call the transformVal
10.03.2019
2106
views
7
comments
0
Jared
Level 9
Aurora
Question about the task
Cat code won't compile
Java Syntax
,
Level 7
,
Lesson 12
Resolved
I keep getting NullPointerException
java.lang.NullPointerException at com.codegym.task.task07.task0726.Solution.main(Solution.java:23) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(De
19.07.2019
1518
views
4
comments
1
anna
Level 15
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Second condition not matched .
I am absolutely lost, second condition always not matched...
18.08.2020
431
views
3
comments
0
Abdullah Al Hasan
Level 13
Question about the task
Unknown animal
Java Core
,
Level 2
,
Lesson 12
Under discussion
what the blunder i've done?
its producing output like - Cat Tiger Lion Bull Animal
14.01.2019
1353
views
4
comments
1
Azhar Iqbal
Level 18
Multan
Question about the task
Stopwatch
Java Core
,
Level 6
,
Lesson 7
Resolved
Is there any Bug ??
Please tell me where the problem is ?
09.10.2018
1533
views
4
comments
0
Arun
Level 17
Tirupati
Question about the task
Order of loading variables
Java Core
,
Level 5
,
Lesson 12
Resolved
Didn't understood what wrong!
I get the order but not satisfying requirements, can anyone clarify , what is the reason?
19.08.2020
424
views
2
comments
0
Yuvavimal
Level 12
coimbatore
Question about the task
Move one static modifier
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
I'll couldn't understand ?
whatpackage com.codegym.task.task07.task0725; /* Move one static modifier */ public class Solution { public static int A = 5; public static int B = 2; public static int C = A * B; public static void main(String[] args) { } public static int getValue() { return
19.08.2020
511
views
1
comment
0
Yuvavimal
Level 12
coimbatore
Question about the task
Family census
Java Syntax
,
Level 7
,
Lesson 12
Resolved
what is the wrong
package com.codegym.task.task07.task0724; /* Family census */ public class Solution { public static void main(String[] args) { Human gF1 = new Human("Dodoo", true, 78); Human
19.08.2020
664
views
1
comment
0
Andrei Stratu
Level 18
Iasi
Question about the task
Rounding numbers
Java Core
,
Level 8
,
Lesson 11
Resolved
Can't validate
For some reason, I am not able to write the integers to the file. Rounded them and try to convert them to byte before writing them on the file
18.08.2020
346
views
2
comments
0
Sindhura
Level 15
Delhi
Question about the task
Method quartet
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
What is the mistake
package com.codegym.task.task08.task0811; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Iterator; import java.util.LinkedList; import java.util.List; /* Quartet of "Methods" */ public class Solution {
05.10.2018
2055
views
5
comments
0
Yuvavimal
Level 12
coimbatore
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
it's working fine but i have an doubt!!!!
______________________________________________ package com.codegym.task.task07.task0708; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.*; /* Longest string */ public class Solution { private static List strings; public sta
11.08.2020
329
views
1
comment
0
Henrique
Level 41
São Paulo
Question about the task
Autoboxing features (part 2)
Java Multithreading
,
Level 9
,
Lesson 7
Resolved
no idea help pls
a
18.08.2020
573
views
6
comments
0
Łukasz
Level 16
GDANSK
Question about the task
Ten cats
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Does anyone have any idea for my bug?
The program does not pass the last test. "The program should display all the cats in the set."
17.08.2020
477
views
4
comments
0
X Khan
Level 8
Palmdale
Question about the task
Maximum of four numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
What would make my code wrong?
It displays the max number, but in the conditions everything is checked off except that "the program should display the max number". It displays the max number in the output. I noticed I have this problem with if/if-else statements. If anyone can explain or maybe link to another source that explai
18.08.2020
340
views
3
comments
0
Michael
Level 10
Dresden
Question about the task
Remove and insert
Java Syntax
,
Level 7
,
Lesson 6
Resolved
Correct result, but code does not validate
- My code creates the 'list' array and reads the required 5 elements from the keyboard into the list. - It iterates 13 times through the list by adding the last list element at the beginning of the list and then removing the last element from the resulting array. - All 5 members of the resulting l
17.08.2020
409
views
2
comments
1
Voris
Level 10
Tashkent
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
class, interface or enum expected , but there's no any errors, how can i fix it
package com.codegym.task.task02.task0216; /* Minimum of three numbers */ public class Solution { public static int min(int a, int b, int c) { int res; if(a <= b && a <= c){ res = a; }else if(c <= b && c <= a){
04.04.2019
2622
views
3
comments
1
Chris
Level 19
Newark
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Im unsure of what this assignment wants from me.
I am unsure of what this assignment wants from me. It says it wants the average of three numbers. But it also says if all numbers are equal display any one of them(ex: a = 5, b = 5 and c = 5 print a or b or even c)!?!? And it says if two of the 3 numbers are equal, display either of the two(a = 5, b
17.08.2020
379
views
6
comments
0
Kaiyr Shayakhmetov
Level 22
Question about the task
Building a file
Java Core
,
Level 8
,
Lesson 11
Resolved
The code seems working but fails to pass verification
Hi, Spent several days, have tried different options to implement the task. All the time fail to pass requirements #2-#5
16.08.2020
835
views
2
comments
0
Maxb
Level 7
Yonkers
Question about the task
Feline carnage
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Cannot compile code to see output in intelliJ
Hello, I finished the problem and got it correct, but the code cannot be compiled to test the output in the terminal without an error. I get the below error, but my code pasts all the tests. Module '1.JavaSyntax' production: java.lang.NullPointerException: Null elements are not allowed in THas
17.08.2020
501
views
1
comment
0
Inifome
Level 10
Delta
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
getting error massages about void in main()
why is the compiler giving me void error
08.07.2020
483
views
2
comments
0
Jay
Level 17
Washington
Question about the task
Let's talk music
Java Core
,
Level 6
,
Lesson 3
Under discussion
Don't see a problem
For some reason, it's not verifying.
13.09.2019
1255
views
3
comments
0
Rohit Aggarwal
Level 32
New Delhi
Question about the task
Minesweeper (Part 14/16)
Games
,
Level 0
,
Lesson 0
Resolved
What exactly is the issue here?
Requirement 2 and 3 are continuously failing. Can someone help me figure out what exactly is the issue here ? private void openTile(int i, int j) { if (isGameStopped) { return; } else if (gameField[j][i].isOpen) { return; } else if (gameField[j][i].
29.07.2020
422
views
2
comments
0
Karolina
Level 7
Question about the task
Static cats
Java Syntax
,
Level 6
,
Lesson 11
Resolved
I have no idea what's wrong. Can U help me pls?
I completed this task with a lot help from Agent Smith. Thank you very much!
17.08.2020
614
views
6
comments
0
dhanush
Level 30
Chennai
Question about the task
Moon Lander (Part 11/23)
Games
,
Level 0
,
Lesson 4
Resolved
need help
i don't know where the width field is exactly pls tell me :(
22.07.2020
327
views
2
comments
1
Petros
Level 23
Columbia
Question about the task
CRUD 2
Java Core
,
Level 7
,
Lesson 10
Resolved
One condition failing. Please help!
Not sure why the -i condition is failing. Please help me figure this out.
17.08.2020
400
views
3
comments
0
Baurzhan Konurbayev
Level 40
Question about the task
Introducing properties
Java Core
,
Level 10
,
Lesson 2
Resolved
Failing validation, need some hint
Hi guys, Validation fails on save/load tests. Could you please give me some hints which test are failing. I checked my solution with Wikipedia sample test and it worked as expected. Thank you!
17.08.2020
512
views
2
comments
0
Show more
1
...
141
142
143
144
145
...
366
Please enable JavaScript to continue using this application.