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
Jordan Zebouni
Level 25
Jacksonville
Question about the task
Take your turn!
Java Core
,
Level 6
,
Lesson 13
Under discussion
Why is my task not passing?
Is it that I am building one string?
18.11.2020
472
views
3
comments
0
Radek
Level 22
Warsaw
Question about the task
The early bird gets the worm
Java Core
,
Level 6
,
Lesson 13
Under discussion
Help, please.
I am trying to solve this task but program cannot finish normal way - after result id displayed, it need additional inputs to close reader and Exception is thrown in one of threads. Can you give me some hint?
09.11.2018
1862
views
7
comments
1
Maxine Hammett
Level 19
San Diego
Question about the task
Even numbers
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
Not finishing final task although program writes numbers
My code doesn't pass the "The program should display even numbers...". I'm not sure why because the output is from 2 through 100;
15.06.2020
877
views
7
comments
0
Ilia Kalugin
Level 25
Novara
Question about the task
Seeing dollars in your future
Java Syntax
,
Level 4
,
Lesson 10
Under discussion
Help
What's right solution if do not use String like "$$$$$$$$$"?
16.11.2019
1511
views
3
comments
0
Christopher Abbott
Level 7
Coppull
Question about the task
You can't have too much of a good thing
Java Syntax
,
Level 4
,
Lesson 10
Under discussion
So it is working fine but says it is not printing string n times but is is?
package com.codegym.task.task04.task0432; import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String alpha = reader.readLine(); String iNum = reade
27.08.2020
682
views
4
comments
0
Aditya
Level 5
Baleshwar
Question about the task
1 to 10
Java Syntax
,
Level 4
,
Lesson 10
Under discussion
I CodeGym AI is mad.... 🙁
just see my code it won't fulfill conditions as printing 1 to 10 and printing each value on new line
04.01.2020
1014
views
3
comments
2
Gellert Varga
Level 23
Szekesfehervar
Under discussion
Sometimes English is my nightmare... - "This method blocks until input data is available"
Here's a sentence about the read() and read(array, index, pieces) methods of the InputStream class from the Oracle site that I can't explain to myself at all: "This method blocks until input data is available, end of file is detected, or an exception is thrown." I have two very seperated questions
19.01.2021
628
views
2
comments
0
Liliane Top
Level 24
Amsterdam
Question about the task
Reading and writing static fields to a file
Java Core
,
Level 10
,
Lesson 2
Resolved
What is happening here?
I'm confused about the second object that is created. The loadedObject is the same as the classWithStatic as we read from the file. But what is happening to the new values? It seems that it is completely ignored. Now I tried to write to objects to the file by trying loadedObject.save(outputStream) b
16.01.2021
613
views
1
comment
0
Goran
Level 41
Belgrade
Question about the task
Number algorithms
Java Core
,
Level 10
,
Lesson 10
Under discussion
Correct result but not passing
Every time i try to pass it says too long, like I have infinity loop. Does anyone see here any error ?
20.10.2020
394
views
0
comments
0
David
Level 29
Paris
Question about the task
Overriding serialization in a thread
Java Core
,
Level 10
,
Lesson 10
Under discussion
Need help
Hello Someone can help me
21.10.2020
603
views
0
comments
0
Davedabull
Level 22
New York City
Question about the task
Number algorithms
Java Core
,
Level 10
,
Lesson 10
Under discussion
Am I not returning an array?
What's wrong? Missing the last task condition, very confused.
25.10.2020
420
views
0
comments
0
Goran
Level 41
Belgrade
Question about the task
What's in the folder?
Java Collections
,
Level 1
,
Lesson 4
Under discussion
Correct output but I am getting this error : "CodeGym security exception. You are performing a forbidden or potentially dangerous operation."
I tested on my folder all is correct but I get error.
31.10.2020
548
views
0
comments
0
Daniel Whyte
Level 17
Question about the task
Dog registration
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
public Dog
Why are the do the methods begin with public Dog rather than public void?
18.01.2021
668
views
1
comment
0
slyyx
Level 15
New York City
Question about the task
Countdown at the races
Java Core
,
Level 6
,
Lesson 10
Under discussion
What is the main method supposed to do?
I can tell I'm misunderstanding how the program is supposed to work, since I am only printing out "Interrupted!" instead of actually calling the interrupt() method, but I don't understand what the main method should do and what the purpose is of the main method calling Thread.sleep(3500)
19.01.2021
384
views
1
comment
0
Liliane Top
Level 24
Amsterdam
Question about the task
Spaces
Java Core
,
Level 8
,
Lesson 11
Resolved
What is wrong with my code?
No idea why I fail the test. I saw the solution but it doesn't make any sense. 1) they do not close the stream 2) And I don't see what is wrong with my code as the only difference is that they add if(total != 0;
03.01.2021
500
views
9
comments
0
Rich
Level 23
San Diego
Question about the task
CRUD
Java Core
,
Level 7
,
Lesson 10
Resolved
hint pls
it's saying the -u argument section may be changing list size and -i argument section doesn't print to screen.
19.01.2021
584
views
2
comments
0
Chandan Thapa
Level 22
Dubai
Question about the task
Introducing tags
Java Core
,
Level 9
,
Lesson 11
Resolved
Got the correct output but it does not verify.
I have worked on this for hours and this is probably the best i could do .. please help.
16.01.2021
664
views
13
comments
0
Jasey
Level 13
Chester
Question about the task
The isomorphs are coming
Java Core
,
Level 2
,
Lesson 12
Under discussion
Appreciate a another set of eyes. Not sure why it is failing.
I often would rather stare at the code until I see the issue, but this one it taking me too long. It is complaining that: The Solution class must have two methods. ( Main and getMinimumAndIndex) - Still an issue - It is complaining: The getMinimumAndIndex() method must return the minimum of the arr
10.11.2020
389
views
0
comments
0
AlfredW
Level 23
Denver
Question about the task
Reading and writing to a file: CodeGym
Java Core
,
Level 10
,
Lesson 2
Under discussion
Hmm, Missing something here.
It seems like it is a fairly straight forward task, but there is something I am missing. It keeps telling me that: "Check why the users list is empty after the file has been read." I figure it is some super obvious thing that I am simply not seeing.
05.11.2020
421
views
1
comment
0
sourav bamotra
Level 20
jammu
Question about the task
Tracking changes
Java Core
,
Level 9
,
Lesson 11
Under discussion
hi there! I've got the idea what to do but little confuse
if the position of lines of file1 are different as that of the file2, then that line will be considered as removed? for example : //list1.get(0).equals(list2.get(4)) the element in this case will be encountered with what tag ? Same, Removed,Added?
24.10.2020
419
views
0
comments
0
Ezra Dean
Level 16
New York City
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Under discussion
pay close attention to the output fomart
"North America" not "NorthAmerica"
21.10.2020
486
views
0
comments
0
Dinesh
Level 7
Delhi
Under discussion
what is wrong in this code
public class CloseToTen{ public static void main(String[]args){ displayClosestToTen(8,12); displayClosestToTen(7,14); } public static void displayClosestToTen(int a, int b){ //Write you code here int x = a-10; int y = b-10; x=Math.abs(x); y=Math.abs(y); if (x
18.01.2021
345
views
0
comments
0
Blizniak
Level 4
Cieszyn
Under discussion
Pomocy, nie wiem co jest nie tak, pierwsza rzecz ktorej nie potrafie zrozumiec
package pl.codegym.task.task02.task0216; /* Najmniejsza z trzech liczb */ public class Solution { public static int min(int a, int b, int c) { if (a<=b) && (a<=c); return a; else (b<=c) && (b<=a); return b;
11.01.2021
462
views
0
comments
0
fiskaren
Level 8
Malmö
Question about the task
Minesweeper (Part 1/16)
Games
,
Level 0
,
Lesson 0
Under discussion
I want to run the application so that the field is visible but I do not know how! I can still complete tasks but I want to see the result and progression of the game as I complete each task. Please Help!
I tried to run it: But then this happens: Thanks for taking your time and looking into this!
21.12.2020
575
views
0
comments
0
lijin
Level 20
Beihai
Under discussion
how to do
@Override public void onTurn(int turnDelay){ snake.move(apple); if(apple.isAlive == false){ score += 5; setScore(score); turnDelay -= 10; setTurnTimer(turnDelay); createNewApple(); } if(!snake.isAlive){
15.10.2020
468
views
0
comments
0
Carlitos Martinez
Level 4
Villa Mercedes
Under discussion
¿Porque los ejecicios del nivel 3 no se pueden resolver?
Hola, vengo teniendo problemas con los ejercicios del nivel 3, no puedo hacerlos. No hay forma de verificar ni cargar los datos. Espero su respuestas, desde ya muchas grancias.
31.08.2020
398
views
0
comments
0
Bodea Tudor Andrei
Level 25
Cluj-Napoca
Under discussion
Can we publish our work on github?
Hi! I was wondering if we can share the GameProjects on github so we can put it in our CV.
03.09.2020
531
views
0
comments
0
Liliane Top
Level 24
Amsterdam
Question about the task
Overriding serialization in a thread
Java Core
,
Level 10
,
Lesson 10
Under discussion
Couple of questions for a better understanding.
package com.codegym.task.task20.task2022; import java.io.*; import java.util.Objects; /* Overriding serialization in a thread */ public class Solution implements Serializable, AutoCloseable { //Write the verification code yourself in the main method: //1) create an instance of the Solu
18.01.2021
475
views
4
comments
0
Lawson
Level 29
Lagos
Question about the task
Equals and HashCode
Java Multithreading
,
Level 1
,
Lesson 5
Under discussion
Pls help
I can't get past the second and the last requirements
09.09.2020
492
views
0
comments
0
Nsisong Eyo
Level 2
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
Got if first hand: Let me break it down
Public class Solution { public static void main( (String) [] args ); //This was the main method other wise know as function declared. print("Java is easy to learn"); //This was the command which created an object print, though it not a variable so can not be output in system.out.println. so a new
12.09.2020
569
views
0
comments
0
Show more
1
...
91
92
93
94
95
...
372
Please enable JavaScript to continue using this application.