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
  • Anas Shakil
    Level 5
    Karachi
    Question about the task Create a Friend class
    Java Syntax, Level 5, Lesson 7
    Under discussion
    What's wrong ?Why this is not working ?
    • 9/2/18
    • 2344views
    • 8comments
    0
  • Jon Hjerting
    Level 1
    Oslo
    Question about the task The early bird gets the worm
    Java Core, Level 6, Lesson 13
    Under discussion
    Cannot pass testI really don't seem to pass this problem. It appears there is a delay between incrementing a variable and stopping a thread when the increment has been incrementet to count. It seems to run threads after the main program is finished running. Here are errors I received: 1. The run method must read
    • 9/25/19
    • 1827views
    • 4comments
    1
  • Stefan Maric
    Level 22
    Frankfurt
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 4
    Resolved
    After correct result, task is failed to pass testing!Someone have any clue where am I mistaking? As you can see I did few combinations butt I still cannot pass testing.
    • 2/20/20
    • 1280views
    • 2comments
    0
  • Stefan Maric
    Level 22
    Frankfurt
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    Correct solution doesn't pass testingAll conditions are correct but server doesn't except solution. Can someone please help me and tell me where am I mistaking? Try to run my code and I am sure that you will get correct solution.
    • 2/25/20
    • 1034views
    • 4comments
    0
  • Joshua Griebling
    Level 8
    Houston
    Question about the task Let's put together a rectangle
    Java Syntax, Level 5, Lesson 7
    Resolved
    HelpI don't know whats wrong edit: it looks better but it is still not correct
    • 5/22/19
    • 1950views
    • 6comments
    0
  • Matjes
    Level 12
    Prague
    Question about the task Kind Emma and the summer holidays
    Java Syntax, Level 8, Lesson 8
    Resolved
    Cannot pass the last requirementCould please someone give me a hand? I am not sure how to pass the last requirement. Thanks a lot!
    • 3/2/20
    • 1225views
    • 3comments
    0
  • Jacqueline Lim
    Level 9
    Makati
    Question about the task Kind Emma and the summer holidays
    Java Syntax, Level 8, Lesson 8
    Resolved
    NEED HELPHow can I suffice the last requirement?
    • 10/31/18
    • 2288views
    • 5comments
    1
  • Pawel
    Level 22
    Austin, TX
    Question about the task Snake (Part 20/20)
    Games, Level 0, Lesson 1
    Resolved
    The game compiles, but doesn't draw the boardHey, can anyone check what's wrong with my game? I probably mess something with drawing function at part 17/20. Since this time it doesn't draw game, just white square(it worked before). The game compile and I pass all further requirements but it's still not working :( Or is it possible to recover m
    • 3/2/20
    • 1208views
    • 5comments
    0
  • robert whilton
    Level 6
    Wilford
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    cant figure out why it say int "m" may not of been initialised?Please help. I cant figure out why it says "m" may not of been initialised? i have declared int m; on line 9
    • 3/2/20
    • 1107views
    • 1comment
    0
  • KARAN BHOITE
    Level 15
    Nagpur
    Question about the task Player and Dancer
    Java Core, Level 4, Lesson 4
    Under discussion
    not getting whats wrong with this.plz help
    • 2/20/20
    • 945views
    • 5comments
    0
  • robert whilton
    Level 6
    Wilford
    Question about the task Display right away
    Java Syntax, Level 3, Lesson 3
    Resolved
    I dont understand whats goin wrongHi all i dont understand where im going wrong any help please?
    • 2/11/20
    • 1262views
    • 4comments
    0
  • Chrisantus Makokha
    Level 32
    Nairobi
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Resolved
    I genuinely need help on the Rule of the triangle or a hint will doI have tried the "Rule of the triangle" several times in several ways but still I get errors. I will appreciate anyone that will point me towards the right direction, because I know the error exists in the condition section but I just can't figure it out.
    • 5/4/19
    • 1896views
    • 3comments
    0
  • Joshua
    Level 4
    Sydney
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Could someone explain the abs method too me? I just need an explanation as to how the abs method works. Im kind of annoyed that alot of the tasks im doing i have to look to the help section for as not everything has been taught needed to answer the question.
    • 1/11/20
    • 1363views
    • 5comments
    0
  • Pawan Harde
    Level 4
    Mumbai
    Question about the task Task with percentages
    Java Syntax, Level 3, Lesson 3
    Under discussion
    need help... i cant figurefirst task
    • 9/23/18
    • 1632views
    • 5comments
    0
  • hidden #10589341
    Level 19
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Resolved
    why??????i think my code is correat but it is not meet the third condition plz help me thank u a lot
    • 3/1/20
    • 1002views
    • 2comments
    0
  • Justin Smith
    Level 8
    Question about the task Only for the rich
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Definitely got me stumped.Won't pass the final test, however, when I include a print statement at the end of the removeItemFromMap method using entrySet(), no entries below 500 are present (in intelliJ at least).
    • 2/8/20
    • 1470views
    • 5comments
    0
  • Samia
    Level 4
    Lahore
    Under discussion
    What is secret key to sign in if am using codegym mobile? I installed codegym plugin on intelliJ but to connect it with my account they are asking for secret key but on mobile app there is no secret key for plugin so what is the solution
    • 11/23/19
    • 1772views
    • 1comment
    0
  • Somdutt Dwivedi
    Level 1
    Allahabad
    Question about the task Calling a constructor from a constructor
    Java Syntax, Level 5, Lesson 9
    Resolved
    plzz help me i want know what is wrong and what i have to learn to solve this problem4 condition fails again and again i have tried all logical possibility still i don't know what to do
    • 2/26/20
    • 1273views
    • 4comments
    0
  • Senned
    Level 41
    Azov
    Question about the task CashMachine (part 10)
    Java Collections, Level 9, Lesson 15
    Resolved
    What validator whants?It's working perfectly.
    • 1/21/20
    • 1359views
    • 3comments
    0
  • oli blaustrom
    Level 18
    Luzern
    Question about the task Countdown at the races
    Java Core, Level 6, Lesson 10
    Resolved
    If thread.sleep isn't in the loop I get a curious compiler errorSo I can't redo because my code passed but if try { while(numSeconds > 0) { System.out.print(numSeconds + " "); numSeconds--; //Thread.sleep(1000); } System.ou
    • 2/29/20
    • 959views
    • 3comments
    0
  • hidden #10589341
    Level 19
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Resolved
    ????????I think my code is correct and its output 3 plz tell me what is fault.... thanks
    • 2/29/20
    • 1075views
    • 16comments
    1
  • Somya Gupta
    Level 4
    Vrindavan
    Question about the task Crazy eights
    Java Syntax, Level 2, Lesson 5
    Under discussion
    plz tell me where the mistake it verify on 10 veriable but not verify 8 object means package com.codegym.task.task02.task0212; /* Crazy eights */ public class Solution { public static void main(String[] args) { Cat cat8 = new Cat(); Cat cat9;; //write your code here Cat cat1; Cat cat2; Cat cat3;
    • 8/20/18
    • 3202views
    • 9comments
    0
  • null
    Level 26
    Orlando
    Question about the task Make a family
    Java Syntax, Level 8, Lesson 11
    Resolved
    Failed the final condition. Not sure why. Plz help! Output below. ThanksName: Grandpa1, sex: male, age: 100, children: father, mother Name: Grandpa2, sex: male, age: 99, children: father, mother Name: Grandma1, sex: female, age: 99, children: father, mother Name: Grandma2, sex: female, age: 98, children: father, mother Name: father, sex: male, age: 50, children: firstCh
    • 2/28/20
    • 1622views
    • 5comments
    0
  • catalinene
    Level 29
    Greven
    Question about the task Creating threads recursively
    Java Core, Level 6, Lesson 13
    Resolved
    Why are the threads created sequentially?By puting the "if -statement" inside the run() method, threads get created in order. If a change the "if-statement" to a "while" (same boolean condition), the Threads get created randomly, but it doesn't pass the testing. I'm confused. What is the difference? Thanks! public class Solution { st
    • 2/29/20
    • 900views
    • 1comment
    0
  • Andreea
    Level 9
    Question about the task Minesweeper (Part 6/16)
    Games, Level 0, Lesson 0
    Resolved
    What do I miss?I can't see where the mistake is.. :(
    • 7/23/19
    • 1786views
    • 2comments
    1
  • Radosław Dziura
    Level 16
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Under discussion
    The output is correct, what's wrong then?The output is correct, what's wrong then?
    • 2/28/20
    • 1202views
    • 2comments
    0
  • Elvis Lee
    Level 41
    Aurora
    Question about the task CashMachine (part 9)
    Java Collections, Level 9, Lesson 15
    Resolved
    Fail the validation without any commentIt works according to the conditions but fail the validation. Don't know why, can anyone help?
    • 2/24/20
    • 1198views
    • 0comments
    0
  • oli blaustrom
    Level 18
    Luzern
    Question about the task Displaying a stack trace
    Java Core, Level 6, Lesson 3
    Resolved
    Not sure what is wrong, displaying the stack trace in the run methodSorry can someone see what's up? commenting out thread.join() doesn't help, I just added it for clarity of execution.
    • 2/28/20
    • 1059views
    • 2comments
    0
  • Leopold Bschorr
    Level 10
    Oldenburg
    Question about the task Maximum in an array
    Java Syntax, Level 7, Lesson 4
    Resolved
    what is the issue why does it not compile ?couldnt find the bug ...
    • 2/28/20
    • 1019views
    • 1comment
    0
  • Leopold Bschorr
    Level 10
    Oldenburg
    Question about the task Min and max in arrays
    Java Syntax, Level 7, Lesson 12
    Resolved
    results are fine but 3rd req doesnt check ?why is it ? thanks in advance
    • 2/28/20
    • 975views
    • 2comments
    0
  • 1
  • ...
  • 228
  • 229
  • 230
  • 231
  • 232
  • ...
  • 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