CodeGym
Promotion
CodeGym University
Java FullStack
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
  • Erfan Alam
    Level 2
    Rangpur
    Question about the task Where does a Person come from?
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Method and objectIsn't it confusing, because it looks like a method, And who teach me to creat an object under a class, CodeGym getting confusing for me. Tasks are coming with no pre exercises!!
    • 11/21/19
    • 1156views
    • 3comments
    1
  • ProgrammerNewbie
    Level 14
    Question about the task Method in a try-catch
    Java Syntax, Level 9, Lesson 11
    Resolved
    throws IOExceptionHi, My code works fine while running. Unfortunately it fails the third condition. I know it is because of "throws IOException". However, when I had left that out, my code did not compile due to an unhandled IOException. Best regards
    • 7/24/19
    • 4528views
    • 3comments
    0
  • Shawn
    Level 3
    Dallas
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Still can't figure this out.Can someone help me find my errors? Code: package com.codegym.task.task02.task0204;
    • 12/10/19
    • 1100views
    • 1comment
    0
  • Tian Pro
    Level 23
    Cape Town
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Sorry I can't figure this out >.<I'm still very much a beginner at this stuff, I might not be learning as fast as I should be. But I'm stuck on this one and kinda need help. Not sure how much of this code is wrong, perhaps all of it is, haha. Just let me know please :D
    • 11/28/19
    • 1276views
    • 3comments
    0
  • MecoS
    Level 16
    Question about the task Census
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Map did nit have 2 equals key... For me the methods are ok but i didn't understand why the error?
    • 12/5/19
    • 1046views
    • 2comments
    0
  • Adam S
    Level 22
    Gliwice
    Question about the task Adding
    Java Syntax, Level 4, Lesson 16
    Resolved
    not sure how to include -1 in the sum.Cany anyone give a hint?
    • 12/8/19
    • 1288views
    • 2comments
    0
  • hidden #10559307
    Level 8
    Question about the task Shuffled just in time
    Java Syntax, Level 7, Lesson 12
    Resolved
    Can you please check what is wrong with my code?the output matches the required result but not accepted.
    • 12/9/19
    • 1073views
    • 2comments
    0
  • Matti Barzilai
    Level 20
    Chicago
    Question about the task 2048 (Part 7/18)
    Games, Level 0, Lesson 2
    Resolved
    Tests Not PassingThanks in advance for any help! When I attempt to verify this task, it says the compressRow method accurately returns true and false. However, it says that the compressRow(int[]) method is not implemented in accordance with the task conditions. Unfortunately, the only error it gives me is that the
    • 12/6/19
    • 1718views
    • 3comments
    0
  • SOUFIANE DAHIMI
    Level 32
    Marrakech
    Question about the task Rarest bytes
    Java Core, Level 8, Lesson 3
    Under discussion
    please what's wrong with this code !!!???please what's wrong with this code !!!???
    • 12/8/19
    • 1422views
    • 1comment
    0
  • Iliri Cani
    Level 37
    Tirana
    Question about the task Circular iterator
    Java Collections, Level 7, Lesson 4
    Under discussion
    Help pleaseI get the expected output but it says timeoout validation.
    • 9/25/19
    • 1349views
    • 2comments
    0
  • MecoS
    Level 16
    Question about the task Software update
    Java Syntax, Level 8, Lesson 11
    Under discussion
    Maybe i didn't understand the questionMaybe i didn't understand the question
    • 12/8/19
    • 1172views
    • 2comments
    0
  • Niranjan Soni
    Level 15
    Bangalore
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Under discussion
    removeAllNumbersGreaterThan10 must work with set of any size not satisfying this condition.Now what's wrong in my code
    • 9/30/18
    • 2436views
    • 8comments
    0
  • catalinene
    Level 29
    Greven
    Question about the task Number of letters
    Java Syntax, Level 10, Lesson 11
    Resolved
    So my output looks good, but the 3rd condition is not validatedSo I understand the task in the following way: -example: check if the word contains the letter "a", if yes increment the respective counter. So if every word (total of 10 inputs) has the letter 'a' in it then the output for the first line should be: a 10 . And my code does that, but the 3rd condi
    • 12/8/19
    • 1107views
    • 2comments
    0
  • MecoS
    Level 16
    Question about the task Five winners
    Java Syntax, Level 8, Lesson 11
    Under discussion
    Help... this is impossible. Tested on Intellij it was ok.. Online did not pass the test. Sorry but is a basic standard bouble sort descendent. I try ascending and descending and ok.. I didn't understand why..
    • 12/8/19
    • 1169views
    • 1comment
    0
  • Keith Emery
    Level 17
    Saint Louis
    Question about the task Chicken factory
    Java Core, Level 4, Lesson 6
    Resolved
    My code compiles and runs without errors but fails the requirements. Why?I think my code adheres to the requirements laid out in the exercise but it fails the fourth, sixth and seventh requirements despite having compiled and run without errors. Suggestions are much appreciated.
    • 9/4/19
    • 1596views
    • 2comments
    1
  • Павел Артеменко
    Level 41
    Krasnodar
    Question about the task Archiver (part 10)
    Java Multithreading, Level 7, Lesson 15
    Resolved
    What I am missing?Tested on directory and single file - works as intended, but verification failed.
    • 5/17/19
    • 1988views
    • 3comments
    0
  • Carlos Cortázar
    Level 17
    Madrid
    Question about the task Sorting even numbers from a file
    Java Core, Level 3, Lesson 11
    Archived
    Why this doesn't validate?The mentor says "the program displays too few lines", but when I run the program it runs and show all the numbers
    • 12/6/19
    • 1243views
    • 5comments
    0
  • Giang
    Level 2
    Frankfurt am Main
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Resolved
    Not passing the 4th requirement (double)Hello everyone, for some reason I am unable to pass the 4th requirement even though I casted celsius already. Do you have any idea how I could fix it? Thanks a lot!
    • 5/12/19
    • 1992views
    • 4comments
    0
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task Singleton
    Java Core, Level 4, Lesson 8
    Resolved
    How Can We Create new files for code please HelpHow Can We Create new files for code please Help
    • 4/14/19
    • 1736views
    • 3comments
    0
  • Jarret Fawcett
    Level 12
    Pittsburgh
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Resolved
    I can't figure out the fifth requirement?It compiles, and displays the maximum of N entered numbers, but it won't pass the fifth requirement. Thanks.
    • 12/7/19
    • 1350views
    • 2comments
    0
  • david
    Level 8
    Edgewater
    Question about the task In decreasing order
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Okay, what is a problem with my code?I've got the perfect the output, but the console keeps saying that my code does not pass the last condition. Does anyone know What the problem is here?
    • 12/6/19
    • 1245views
    • 2comments
    0
  • MecoS
    Level 16
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Archived
    HelpThe results is correct but there is even the same error with or without external method
    • 12/6/19
    • 1206views
    • 2comments
    0
  • Shawn
    Level 3
    Dallas
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Under discussion
    How do I save a reference?It only hints instead of explaining how to apply what's in the lesson to this task.
    • 12/6/19
    • 1167views
    • 1comment
    0
  • Hendra
    Level 8
    Medan
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    what's wrong with my code?package com.codegym.task.task04.task0420; /*
    • 12/7/19
    • 996views
    • 1comment
    0
  • marwan
    Level 22
    Question about the task Words in reverse
    Java Syntax, Level 7, Lesson 9
    Resolved
    What the problem the program work will ?what the problem with the last point the program display in reverse order.
    • 12/5/19
    • 1379views
    • 3comments
    0
  • Ankit
    Level 3
    delhi
    Under discussion
    "No classes to display" - Can't complete tasksHello, I've reached level 3 and it seems like the website is bugged for me or something. It doesn't show me any tasks in the "tasks section" although I do have unlocked new lessons and have unfinished tasks. Also, when I open a task, I can't write code as I get the next message "No classes to displ
    • 12/6/19
    • 1202views
    • 2comments
    0
  • Dave Andrea
    Level 41
    Question about the task Ascending numbers
    Java Syntax, Level 6, Lesson 11
    Under discussion
    I tried this without using the built in sort method. Any idea why it doesn't work?I'm trying to figure out where I went wrong here. Someone had to build the built-in sort function, so I'm trying to figure out how it works. I don't understand the compiler error it gives me (index out of bounds error because i = 5) because the loops should break before that happens. If I print the
    • 12/6/19
    • 1608views
    • 5comments
    0
  • Shawn
    Level 3
    Dallas
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Under discussion
    How do I create a reference to the object for this?This is the second task I've come across asking for this, and reference creation hasn't been properly explained or taught yet.
    • 12/6/19
    • 1143views
    • 3comments
    0
  • catalinene
    Level 29
    Greven
    Question about the task Task about algorithms
    Java Syntax, Level 9, Lesson 11
    Under discussion
    The logic should be corectSo the logic should be corect. At first I got the right output, but without using the "isGreaterThan" method and intead just using an ArrayList and Collection.sort(). I rewrote the same logic to use the "isGreaterThan" method. But now it doesn t stop from accepting inputs (see code below) Thanks in
    • 12/5/19
    • 1482views
    • 1comment
    0
  • Adam S
    Level 22
    Gliwice
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    Can anyone have a look plsGuys what's wrong with this last condition?
    • 12/5/19
    • 1330views
    • 2comments
    0
  • 1
  • ...
  • 250
  • 251
  • 252
  • 253
  • 254
  • ...
  • 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