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
  • ishu
    Level 6
    Maharashtra
    Question about the task Cats in the Universe
    Java Syntax, Level 4, Lesson 2
    Under discussion
    helpcan anyone explain me.. why? it is written sop(Cat.count);
    • 7/25/20
    • 459views
    • 1comment
    0
  • Roman
    Level 40
    Under discussion
    krótkie pytanieczy jest ciężko rozwiązywać zadania na 3 stopniu?
    • 8/5/20
    • 409views
    • 1comment
    0
  • Mnemonic
    Level 9
    london
    Question about the task Three numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    Can anyone have a look at this and tell me what I've done wrong ?Not sure how to fix this
    • 8/5/20
    • 482views
    • 1comment
    0
  • Ntuthuko Xaba
    Level 18
    Johannesburg
    Question about the task Sorting even numbers from a file
    Java Core, Level 3, Lesson 11
    Resolved
    Can't find an answerGuys, will somebody please help. I've looked through the help section and can't find a solution. What am I doing wrong?
    • 4/3/20
    • 1558views
    • 8comments
    0
  • Willie Mangram
    Level 19
    Pensacola
    Question about the task Cat and statics
    Java Syntax, Level 6, Lesson 11
    Resolved
    Can't pass last taskWhen running the program it displays the correct number after the Cat objects are created. Is there something I'm missing? Thanks
    • 1/14/19
    • 2219views
    • 5comments
    2
  • Krystian C
    Level 27
    San Francisco
    Question about the task Sequential file output
    Java Core, Level 6, Lesson 13
    Under discussion
    Problem with last test.I have probilem with last test. I was trying almost everything but i dont know how to resolve this.
    • 1/24/20
    • 1085views
    • 4comments
    0
  • robin
    Level 23
    Lublin
    Question about the task Two in one
    Java Core, Level 8, Lesson 11
    Resolved
    Problem with the last requirementCan anyone explain to me why my solution is not able to satisfy the last requirement? Is there anything wrong with the way I call close() on the outputstream?
    • 6/5/19
    • 1524views
    • 3comments
    0
  • Djole
    Level 41
    Belgrade
    Question about the task Two in one
    Java Core, Level 8, Lesson 11
    Resolved
    can't pass fourth task requirementany hint for appending content to a file without erasing previous file content? thank you.
    • 4/7/19
    • 1604views
    • 4comments
    0
  • David Haines
    Level 13
    La Crosse
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Resolved
    Could somebody, anybody, please help me figure out what I am doing wrong?Somebody, anybody, please help. I have been arguing with this lesson for days. (It seemed to take forever to figure out the main issue) Now I am stuck on the last condition. I have tried everything I could think of (didn't work), tried GOOGLE (apparently I'm too dense to understand that) and I ha
    • 8/4/20
    • 610views
    • 3comments
    0
  • sachin thakur
    Level 18
    Question about the task Factorial
    Java Core, Level 5, Lesson 12
    Resolved
    Please help!!Please help!! getting correct answer but not able to pass conditions
    • 5/30/20
    • 604views
    • 2comments
    1
  • Angel Li
    Level 18
    Fremont
    Question about the task Sorting even numbers from a file
    Java Core, Level 3, Lesson 11
    Resolved
    Do I need an actual file for it to compile?I tried many times on IntelliJ but it doesn't verify. The third and fourth requirements are not met. When I run on IntelliJ, I input random words from the keyboard, but it doesn't let me enter more than one line. If I press enter, It automatically ends and says "Process finished with exit code 0". B
    • 7/3/20
    • 764views
    • 7comments
    1
  • Artur
    Level 22
    Moorends
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Resolved
    prints out correctly - still error?Hello the code prints out 2 longest entered strings and still it does not accept it? Anyone got a clue?
    • 7/6/20
    • 858views
    • 4comments
    2
  • Ahmad Essam
    Level 18
    Cairo
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Resolved
    Could anyone point me out the issue in my code?.. :/ ..
    • 8/4/20
    • 900views
    • 8comments
    0
  • Maryem Vickers
    Level 7
    HT...
    Question about the task From 10 to 1
    Java Syntax, Level 4, Lesson 10
    Resolved
    WELLP! It seems it may be a stupid question but look, I put in the correct code and LOOK WHAT HAPPENS NOW. CODE GYM HAS MAD CHECKING TECHNOLOGY!!!Yikkeess. It seems it may be a stupid question but look, I put in the correct code... and... AND... Look at my code... and it will not work! WhAt on earth is the problem?! CODE GYM MUST HAVE MAD CHECKING TECHNOLOGY!
    • 7/30/20
    • 697views
    • 14comments
    0
  • Ivan
    Level 22
    Nope
    Question about the task Request parser
    Java Core, Level 5, Lesson 12
    Resolved
    AssistanceHi Guys, totally lost on this task ... even this isn't my code but can't get it to work properly... Guess i'll need a break from all, brain STUCK :D
    • 12/13/19
    • 1497views
    • 4comments
    1
  • Chris
    Level 19
    Newark
    Question about the task Seasons on Terra
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Solution to my If else statementI have tried every approach that I know up to this point. I even reviewed conditional operators by finding a useful article online. I was originally just using "&&" and then I played around with the ||(or operator) for my first condition and when I ran it through intellij I was able to print
    • 7/30/20
    • 582views
    • 3comments
    2
  • Kamal Khastagir
    Level 11
    kolkata
    Question about the task HashSet of plants
    Java Syntax, Level 8, Lesson 3
    Under discussion
    what's wrongmy code doesn't pass last two conditions
    • 8/4/20
    • 593views
    • 1comment
    0
  • DM
    Level 22
    Worcester
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Resolved
    Works fine but codegym doesn't like it. Any hints on what it's look for?...I got result needed and I consider it to be solved, now why codegym doesn't like my code, I want to get a credit for a time spent, and few hints on what results should look like in a future would be appreciated. I like to experiment but it looks like there certain template I should be following to g
    • 8/1/20
    • 601views
    • 2comments
    0
  • Chris
    Level 19
    Newark
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Resolved
    My brain is on empty with this one.I have been at this for the past 2 hours and I think I have finally come close to a workable solution. I wrote down the numbers on a notepad of all the green numbers (1,2,5,6,9,10... etc). I then figured out that it was easier to isolate the red and yellow numbers since there were significantly fewe
    • 8/3/20
    • 926views
    • 4comments
    0
  • gabe
    Level 6
    Greenville
    Question about the task Price of apples
    Java Syntax, Level 4, Lesson 1
    Resolved
    help!i cant figure out how to store the old apple price and then change it by applePrice every time
    • 7/29/20
    • 1143views
    • 6comments
    0
  • ishu
    Level 6
    Maharashtra
    Question about the task Sam I Am
    Java Syntax, Level 3, Lesson 6
    Resolved
    unsolved problem🤔error..
    • 7/12/20
    • 585views
    • 2comments
    0
  • Vivek
    Level 4
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    Why my code won't work? I am tired of editing this one.
    • 8/2/20
    • 688views
    • 2comments
    0
  • Divakar Reddy
    Level 15
    Nandyal
    Question about the task One method in a class
    Java Core, Level 3, Lesson 11
    Under discussion
    how to solve thiscan anyone help me
    • 7/30/19
    • 1744views
    • 3comments
    0
  • Mason Rake
    Level 4
    Grand Marsh
    Question about the task Seasons on Terra
    Java Syntax, Level 4, Lesson 4
    Resolved
    Please help...I keeps saying I am doing something wrong with the winter months... I am not sure what is wrong
    • 8/4/20
    • 610views
    • 2comments
    0
  • Ivan
    Level 22
    Nope
    Question about the task OOP: Method overloading
    Java Core, Level 5, Lesson 12
    Resolved
    Key to this validation.public void info(Object s) { System.out.println(String.format("Tree No. %d , Object method, parameter: %s", number, s.getClass().getSimpleName())); } Guys, it is the space after - @Tree No. %d ,@- do you see it, that's how it should be for all. Also the end should be @paramter : %s@
    • 12/12/19
    • 1354views
    • 0comments
    3
  • Johannes
    Level 27
    Centurion, Pretoria
    Question about the task Arming ourselves to the teeth!
    Java Multithreading, Level 5, Lesson 9
    Resolved
    please help with output display ?No clue what format the display should take. Lovely requirements, this level.
    • 5/18/20
    • 719views
    • 9comments
    1
  • Maxine Hammett
    Level 19
    San Diego
    Question about the task Fixing bugs
    Java Core, Level 4, Lesson 8
    Under discussion
    Confused with why a semi-colon is neededI'm confused why the semi-color is used with the new Orca object. CanSwim creature = new Orca( ) { @Override public void swim() { } @Override CanSwim getCurrentCreature() { return null; } };
    • 8/4/20
    • 618views
    • 1comment
    0
  • Henrique
    Level 41
    São Paulo
    Question about the task Implementing an interface using a local class
    Java Multithreading, Level 4, Lesson 6
    Resolved
    Output seems correct, but test fails on 4th requirementAny idea?
    • 7/29/20
    • 703views
    • 7comments
    0
  • Jeanine Kimball
    Level 26
    New London
    Question about the task Prices 2
    Java Core, Level 8, Lesson 11
    Resolved
    I can't figure out the problem.I've been at it for hours. It's probably something small and I'm crosseyed and can no longer see it. Or of course it's major and I have to redo the whole thing. Again. Help please?
    • 8/3/20
    • 532views
    • 4comments
    0
  • Rebekah H
    Level 8
    Gothenburg
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Resolved
    My code gives correct output but conditions 3 and 4 are not meet - would someone please explain?Thank you !
    • 8/4/20
    • 765views
    • 2comments
    0
  • 1
  • ...
  • 158
  • 159
  • 160
  • 161
  • 162
  • ...
  • 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