CodeGym
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
  • 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
    • 364views
    • 1comment
    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
    • 416views
    • 1comment
    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
    • 379views
    • 1comment
    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
    • 488views
    • 1comment
    0
  • hendra gunawan
    Level 9
    tebing tinggi
    Question about the task Correct order
    Java Syntax, Level 7, Lesson 2
    Resolved
    please helpplease give me some advice...is there something wrong?
    • 1/19/23
    • 397views
    • 3comments
    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
    • 592views
    • 3comments
    0
  • matemate123
    Level 50
    Kraków
    Question about the task CRUD
    Java Core, Level 7, Lesson 10
    Under discussion
    What's going on with TerminalIn 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
    • 562views
    • 3comments
    0
  • mundru manasa
    Level 1
    CodeGym University in India
    Under discussion
    explain pass by value and referenceis java pass by reference or value
    • 1/15/23
    • 432views
    • 1comment
    0
  • Robert
    Level 3
    Lombard
    Question about the task Shall we play?
    Java Core, Level 6, Lesson 13
    Resolved
    I give upAny ideas what is keeping this from verifying?
    • 6/28/19
    • 1617views
    • 5comments
    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
    • 650views
    • 4comments
    0
  • Isma
    Level 1
    Madrid
    Question about the task Food
    Java Core, Level 4, Lesson 4
    Resolved
    Narrowing doesn't workI 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
    • 812views
    • 5comments
    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 signfor(int i=0;i<5;i++) { if(i%2==0){ array[i] = (int) array[i]*-1; } }
    • 9/14/22
    • 742views
    • 2comments
    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
    • 1457views
    • 3comments
    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
    • 379views
    • 5comments
    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 errorsRan 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
    • 362views
    • 2comments
    0
  • matemate123
    Level 50
    Kraków
    Question about the task Sequential file output
    Java Core, Level 6, Lesson 13
    Resolved
    Problem with start(); methodI 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
    • 552views
    • 3comments
    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 pleaseHi 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
    • 488views
    • 6comments
    0
  • cristel delacruz
    Level 2
    Valenzuela city
    Question about the task 2048 (Part 1/18)
    Games, Level 0, Lesson 2
    Under discussion
    codegymhow to use codegym?
    • 1/9/23
    • 461views
    • 1comment
    0
  • Ferrakko
    Level 2
    Under discussion
    s why
    • 1/8/23
    • 410views
    • 1comment
    0
  • hendra gunawan
    Level 9
    tebing tinggi
    Question about the task Filling an array
    Java Syntax, Level 6, Lesson 8
    Resolved
    please helpwhat's wrong with my code?
    • 1/8/23
    • 529views
    • 1comment
    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 understandingSo, 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
    • 433views
    • 2comments
    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
    • 1148views
    • 3comments
    0
  • Mishal Goswami
    Level 1
    Jakarta
    Under discussion
    codinghow to learn coding?
    • 1/7/23
    • 316views
    • 0comments
    0
  • sreedhar s
    Level 1
    Wellington
    Question about the task Working with dates
    Java Syntax, Level 8, Lesson 11
    Resolved
    Verification failingReccomendation 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
    • 550views
    • 3comments
    0
  • JIMMYS73
    Level 43
    Ukraine
    New
    Problem with pluginHi, 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
    • 557views
    • 0comments
    1
  • Przemek
    Level 25
    Lublin
    Question about the task Serializing people
    Java Core, Level 10, Lesson 10
    Under discussion
    Short questionI 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
    • 603views
    • 3comments
    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
    • 507views
    • 2comments
    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/ validationCan anyone point out why this is not validating? Much appreciated!
    • 12/16/22
    • 643views
    • 3comments
    0
  • Mats Main
    Level 0
    Under discussion
    why so expensive and not germanhello why is this site so expensive and why no german language
    • 4/21/20
    • 1080views
    • 1comment
    1
  • Swarnadip Saha
    Level 2
    Kolkata
    Under discussion
    Can I run my own codes in this appI want to do some codes other than the tasks .Where and How to do them
    • 1/2/23
    • 366views
    • 1comment
    0
  • 1
  • ...
  • 35
  • 36
  • 37
  • 38
  • 39
  • ...
  • 374
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Java Syntax
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success Stories
  • Activity
  • Affiliate Program
Company
  • About us
  • Contacts
  • Reviews
  • Press Room
  • CodeGym for EDU
  • FAQ
  • Support
CodeGym CodeGym is an online course for learning Java programming from scratch. This course is a perfect way to master Java for beginners. It contains 1200+ tasks with instant verification and an essential scope of Java fundamentals theory. To help you succeed in education, we’ve implemented a set of motivational features: quizzes, coding projects, content about efficient learning, and a Java developer’s career.
Follow us
Interface language
English
Deutsch Español हिन्दी Français Português Polski বাংলা 简体中文 मराठी தமிழ் Italiano Bahasa Indonesia 繁體中文 Nederlands 日本語 한국어 Bulgarian Danish Hungarian Basa Jawa Malay Norwegian Romanian Swedish Telugu Thai Українська Filipino Turkish Azərbaycan Русский Vietnamese
Programmers Are Made, Not Born © 2026 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2026 CodeGym