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
  • 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.
    • 04.05.2019
    • 1755views
    • 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.
    • 11.01.2020
    • 1260views
    • 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
    • 23.09.2018
    • 1524views
    • 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
    • 01.03.2020
    • 918views
    • 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).
    • 08.02.2020
    • 1376views
    • 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
    • 23.11.2019
    • 1666views
    • 1comment
    0
  • Somdutt Dwivedi
    Level 9
    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
    • 26.02.2020
    • 1179views
    • 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.
    • 21.01.2020
    • 1243views
    • 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
    • 29.02.2020
    • 849views
    • 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
    • 29.02.2020
    • 941views
    • 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;
    • 20.08.2018
    • 3001views
    • 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
    • 28.02.2020
    • 1463views
    • 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
    • 29.02.2020
    • 810views
    • 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.. :(
    • 23.07.2019
    • 1667views
    • 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?
    • 28.02.2020
    • 1079views
    • 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?
    • 24.02.2020
    • 1079views
    • 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.
    • 28.02.2020
    • 961views
    • 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 ...
    • 28.02.2020
    • 902views
    • 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
    • 28.02.2020
    • 875views
    • 2comments
    0
  • Patrick Wenk
    Level 5
    Unterstedt
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Why? Identifier in System.out.println expectedI don't get why the code is not working
    • 27.02.2020
    • 1000views
    • 2comments
    0
  • zachary zambo
    Level 26
    Athens
    Question about the task 2048 (Part 16/18)
    Games, Level 0, Lesson 2
    Resolved
    I'm not sure why the last condition is not being metI have tried using conditional statements in place of my switch statement in the onKeyPress (Key) method and others places like the move- () methods, but I'm not sure why the last condition is not being met. As far as i can tell when I run the game the and the game ends it works properly. Although,
    • 28.02.2020
    • 1236views
    • 5comments
    0
  • Paweł Ż
    Level 18
    Warsaw
    Question about the task Reading a file
    Java Core, Level 3, Lesson 11
    Archived
    2nd requirementHi I have no idea why this code cannot pass the 2nd condition. It displays everything from a file, but validator still shows "The program displays too few lines." can anyone help? thx
    • 30.08.2019
    • 1396views
    • 4comments
    1
  • catalinene
    Level 29
    Greven
    Question about the task Countdown at the races
    Java Core, Level 6, Lesson 10
    Resolved
    Why do I need to add "Thread.sleep(3500)" in the main method? public class Solution { public static volatile int numSeconds = 3; public static void main(String[] args) throws InterruptedException { RacingClock clock = new RacingClock(); //write your code here Thread.sleep(3500); clock.interrupt(); } public st
    • 27.02.2020
    • 1087views
    • 1comment
    0
  • Liliane Top
    Level 17
    Amsterdam
    Question about the task Kind Emma and the summer holidays
    Java Syntax, Level 8, Lesson 8
    Resolved
    I have no clue how this worksI did copy the code from someone else as it really became unproductive to keep trying to figure out how this works. Its way over my head. Can someone please point me in the right direction to get some more information on: 1- how to we work with date and time. I'm so confused there is so much informa
    • 16.02.2020
    • 1399views
    • 3comments
    0
  • Chotan Barua
    Level 7
    New York City
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Under discussion
    Not Sure where is the problem.Please can anyone tell me where is my issue is? Thanks ahead.
    • 25.02.2020
    • 922views
    • 6comments
    0
  • Patrick Wenk
    Level 5
    Unterstedt
    Question about the task Jen or Jen?
    Java Syntax, Level 4, Lesson 6
    Under discussion
    return type missingmy method uses System.out.println Since this is printing, not returning, I declared the method as void Where is the error coming from? I obviously used a return type
    • 28.02.2020
    • 869views
    • 2comments
    0
  • Arko Sarkar
    Level 8
    Mumbai
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    What is wrong here?Added conditions in case of equal values too, still can't find error with/without the equal value if conditions!
    • 24.08.2018
    • 1538views
    • 6comments
    0
  • Joshua
    Level 4
    Sydney
    Question about the task 18+
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Feeling Silly that i cant see whats wrong hereIm fairly certrain this is correct. First 3 are satisfied and the 4th isnt. However in the output window the output is displaying correctly.
    • 28.02.2020
    • 957views
    • 2comments
    0
  • glenn scafone
    Level 4
    KG
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Under discussion
    can anyone tell me why my solution didn't work?i tested this solution in IntelliJ and it worked there. not sure why the app didn't accept it. I used the abs method and the results display correctly...
    • 26.02.2020
    • 1059views
    • 3comments
    0
  • Elvis Lee
    Level 41
    Aurora
    Question about the task HTML Editor (part 23)
    Java Multithreading, Level 8, Lesson 15
    Resolved
    Fail the openDocument() validationI tested the code and the open document function works properly. Don't know what's missing, the validation showed even the view.has not been set to HTML tab!
    • 26.02.2020
    • 1172views
    • 5comments
    0
  • 1
  • ...
  • 226
  • 227
  • 228
  • 229
  • 230
  • ...
  • 372
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 © 2025 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2025 CodeGym