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
Java 25
All quests
All levels
Any status
Questions about tasks
Hot
Mike S
Level 28
Saint Louis
Question about the task
Clew
Java Core
,
Level 6
,
Lesson 13
Under discussion
Where in the heck is the infinite loop in ThreadFive as the compilers claim?
Okay, I'm pulling out what remains of my hair after working on this for two days. Disregard any other issues that you see in the code, just focus on ThreadFive. How in the heck is there an infinite loop in this?!?!
1/20/23
364
views
1
comment
0
Romisha Middya
Level 1
Ahmedabad
Question about the task
I think being a programmer is cool
Java Syntax
,
Level 1
,
Lesson 2
Under discussion
What is the mistake? It is not giving any output nor any error
public class Solution { public static void main(String[] args) { System.out.print("I think being a programmer is cool"); } }
1/19/23
416
views
1
comment
0
G_Nod
Level 17
Germany
Question about the task
Snake (Part 9/20)
Games
,
Level 0
,
Lesson 1
Resolved
Why doesn't it accept this as valid?
This is what I coded, and as far as I understand it, it should do exactly the same as the solution that seems to work for most others (i.e. creating a GameObject in the createNewHead() method from snakeParts(0) and then using its x- and y-variables). Shouldn't my code get the same variables for the
1/20/23
379
views
1
comment
0
alejandro martinez
Level 1
Under discussion
File question (sorta)
How do you iterate through a line from a file that has multiple integers in that same line? For example, we have a line that has 73, 75, 80, 90, and 99. I want to get the largest integer between all the other integers. How do you do that?
1/19/23
488
views
1
comment
0
hendra gunawan
Level 9
tebing tinggi
Question about the task
Correct order
Java Syntax
,
Level 7
,
Lesson 2
Resolved
please help
please give me some advice...is there something wrong?
1/19/23
397
views
3
comments
0
alejandro martinez
Level 1
Resolved
Java problem called climb (not from the website)
I have a problem with a java problem. The problem is, You have a input file called climb.dat, inside the data file is: 3 2 5 8 The output is to have a left angled triangle with the data. One thing I do know is that the first number,(3), is how many left angled triangles and every triangle is suppose
1/11/23
592
views
3
comments
0
matemate123
Level 50
Kraków
Question about the task
CRUD
Java Core
,
Level 7
,
Lesson 10
Under discussion
What's going on with Terminal
In this task we need terminal. I tryied wrote javac Solution.java. And I get Command 'javac' not found, but can be installed with: sudo apt install openjdk-11-jdk-headless # version 11.0.17+8-1ubuntu2~22.04, or sudo apt install default-jdk # version 2:1.11-72build2 sudo apt install
1/16/23
562
views
3
comments
0
mundru manasa
Level 1
CodeGym University in India
Under discussion
explain pass by value and reference
is java pass by reference or value
1/15/23
432
views
1
comment
0
Robert
Level 3
Lombard
Question about the task
Shall we play?
Java Core
,
Level 6
,
Lesson 13
Resolved
I give up
Any ideas what is keeping this from verifying?
6/28/19
1617
views
5
comments
0
hendra gunawan
Level 9
tebing tinggi
Question about the task
Is anyone there?
Java Syntax
,
Level 6
,
Lesson 8
Resolved
please help
when the value not contained inside array...the index result will become negative ..that's means false...I have tried but the third task requirement still wrong...
1/11/23
650
views
4
comments
0
Isma
Level 1
Madrid
Question about the task
Food
Java Core
,
Level 4
,
Lesson 4
Resolved
Narrowing doesn't work
I can't get the point of this exercise. Why is it not possible to call the .onEat() method after narrowing selectable? Thanks ! ;)
12/6/20
812
views
5
comments
0
ABHISHEK PANDEY
Level 14
Mumbai
Question about the task
Working with elements of an array
Java Syntax
,
Level 6
,
Lesson 1
Under discussion
below code section giving error for inverting sign
for(int i=0;i<5;i++) { if(i%2==0){ array[i] = (int) array[i]*-1; } }
9/14/22
742
views
2
comments
0
Neil
Level 5
Hyderabad
Question about the task
Sam I Am
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
Whats wrong in this code?
1/13/20
1457
views
3
comments
0
matemate123
Level 50
Kraków
Question about the task
Clew
Java Core
,
Level 6
,
Lesson 13
Under discussion
Famous 4th thread.
I tried many ways from former questions in this topic, and I don't know, maybe something wrong with creating threads in Solution class, or inheritance?
1/11/23
379
views
5
comments
0
Gummy C
Level 11
United States of America
Question about the task
Smallest element of an array
Java Syntax
,
Level 8
,
Lesson 0
Under discussion
Getting errors
Ran my code on intellij with different numbers, and even with the smallest number buried somewhere in the middle of the array. But, I am still getting an error from this. Why is that? I am using the Math.min correctly, and I have found the smallest number. Thanks in advance
1/10/23
362
views
2
comments
0
matemate123
Level 50
Kraków
Question about the task
Sequential file output
Java Core
,
Level 6
,
Lesson 13
Resolved
Problem with start(); method
I think it's first task in Threads level with that situation when we create new object and pass it to the interface variable like in 59 line in my code: ReadFileInterface f = new ReadFileThread(); I don't know why start(); method don't start my public void run() { in 82 line. I looked on pr
1/10/23
552
views
3
comments
0
hidden #10994753
Level 46
Question about the task
Unzipping a file
Java Collections
,
Level 1
,
Lesson 10
Under discussion
Program is still failing to pass testing ! a Help please
Hi everyBody, the program fails to pass testing, I already did a test on my machine and the program responds to the requirements. Can you please help me ? thanks a lot.
1/8/23
488
views
6
comments
0
cristel delacruz
Level 2
Valenzuela city
Question about the task
2048 (Part 1/18)
Games
,
Level 0
,
Lesson 2
Under discussion
codegym
how to use codegym?
1/9/23
461
views
1
comment
0
Ferrakko
Level 2
Under discussion
s
why
1/8/23
410
views
1
comment
0
hendra gunawan
Level 9
tebing tinggi
Question about the task
Filling an array
Java Syntax
,
Level 6
,
Lesson 8
Resolved
please help
what's wrong with my code?
1/8/23
529
views
1
comment
0
Gummy C
Level 11
United States of America
Question about the task
Filling an array flexibly
Java Syntax
,
Level 7
,
Lesson 2
Under discussion
Question for my understanding
So, this is the given code. public class Solution { public static void main(String[] args) { Integer[] array = new Integer[5]; fillArray(array, 3, 1, 3); System.out.println(Arrays.toString(array)); } public static void fillArray(Integer[] array, int value, int
1/5/23
433
views
2
comments
0
public enum WaysToDie
Level 23
Denver
Question about the task
Creating threads recursively
Java Core
,
Level 6
,
Lesson 13
Under discussion
How did I get here?
My program seems to fulfill all the requirements, it recursively creates and displays 15 threads following the listed instruction. Yet if you notice the test requirements, my program is still failing. Any help would be appreciated.
1/3/22
1148
views
3
comments
0
Mishal Goswami
Level 1
Jakarta
Under discussion
coding
how to learn coding?
1/7/23
316
views
0
comments
0
sreedhar s
Level 1
Wellington
Question about the task
Working with dates
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Verification failing
Reccomendation from the mentor : "The isDateOdd() method returns an incorrect value. Test it with different dates." Can you help to identify where I am doing wrong? Thank you :)
1/7/23
550
views
3
comments
0
JIMMYS73
Level 43
Ukraine
New
Problem with plugin
Hi, I have a problem with plugin. Every time I'm launch IDEA 2022.3 i have error messge What can be done ?
12/11/22
557
views
0
comments
1
Przemek
Level 25
Lublin
Question about the task
Serializing people
Java Core
,
Level 10
,
Lesson 10
Under discussion
Short question
I know my mistake and I will correct that soon but at at first in can anybody explain me better word ,,transient'' why do we use transient tp ,,full Name''?
5/20/21
603
views
3
comments
0
Gummy C
Level 11
United States of America
Question about the task
Correct order
Java Syntax
,
Level 6
,
Lesson 1
Under discussion
What is wrong?
I got the array to reverse the order, why doesn't my code pass??
1/2/23
507
views
2
comments
0
Evan
Level 33
United States of America
Question about the task
Second smallest number entered
Java Syntax
,
Level 6
,
Lesson 2
Resolved
Issue w/ validation
Can anyone point out why this is not validating? Much appreciated!
12/16/22
643
views
3
comments
0
Mats Main
Level 0
Under discussion
why so expensive and not german
hello why is this site so expensive and why no german language
4/21/20
1080
views
1
comment
1
Swarnadip Saha
Level 2
Kolkata
Under discussion
Can I run my own codes in this app
I want to do some codes other than the tasks .Where and How to do them
1/2/23
366
views
1
comment
0
Show more
1
...
35
36
37
38
39
...
374
Please enable JavaScript to continue using this application.