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
  • Stephen Haokip
    Level 8
    imphal
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Resolved
    guys i have tested multiple timeseverything seems fine for me. but the last condition is unsatisfied. any suggestion is needed please
    • 6/21/20
    • 501views
    • 3comments
    0
  • Divyansh
    Level 4
    Mathura
    Question about the task Currency exchange
    Java Syntax, Level 3, Lesson 3
    Resolved
    Please Help !Whats the problem !!??
    • 7/8/19
    • 1875views
    • 4comments
    0
  • Stephen Haokip
    Level 8
    imphal
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Resolved
    last condition not metplis help me
    • 6/21/20
    • 999views
    • 1comment
    0
  • Edddieg
    Level 15
    Providence
    Question about the task Streets and houses
    Java Syntax, Level 7, Lesson 4
    Archived
    help please I think my code is correct
    • 6/20/20
    • 568views
    • 2comments
    0
  • Edddieg
    Level 15
    Providence
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    please explain I got it running but can someone please explain this to me thank you
    • 6/21/20
    • 579views
    • 0comments
    0
  • Arun
    Level 17
    Tirupati
    Question about the task A big fox is still a fox
    Java Core, Level 3, Lesson 4
    Resolved
    Easy Task becomes Hard to Complete!I am using the method name in BigFox class as in Animal Interface...But it giving error at Main class "getColor" in System.out.println() method .Why?Anyone give such explanation?
    • 6/8/20
    • 735views
    • 2comments
    0
  • MixanJ
    Level 11
    Minsk
    Question about the task Do we have a pair?
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Can someone explain?Can you please explain, whi in IDE (idea) if 2 numbers equal - i see correct result, but check fails only for two exact numbers? I'v changed spaces between digits being printed - did not helped
    • 4/20/19
    • 2270views
    • 12comments
    0
  • Brad Reed
    Level 19
    Hartford
    Question about the task Do we have a pair?
    Java Syntax, Level 4, Lesson 4
    Resolved
    I can’t pass the final checkI’ve re-written this code a bunch, and in a few different ways. No matter what I do I can’t get it to pass. Even defining that it shouldn’t show anything if none are equal, but that’s what I can’t pass
    • 6/20/20
    • 662views
    • 2comments
    0
  • Alan Heffernan
    Level 17
    Anwoth
    Question about the task Only for the rich
    Java Syntax, Level 8, Lesson 8
    Resolved
    Can you use for loop instead of Iterator?I was trying to use the shorthand method of using a for loop instead of the Iterator Class although I can't seem to get it working. Is there something wrong with my logic or do I have to use an Iterator when removing items from a map? Thanks in Advance!
    • 3/20/19
    • 2256views
    • 8comments
    0
  • Anton Yavorskyi
    Level 5
    Kiev
    Question about the task Do we have a pair?
    Java Syntax, Level 4, Lesson 4
    Resolved
    Please people help, it doesn't pass requirement ! If smb. could help and explain why one of reqiarment doesn't pass(if two number are equal, display them) , I would be very grateful, part of my code: else if (number1 == number2 && number1 != number3)
    • 3/16/20
    • 1281views
    • 4comments
    0
  • Edddieg
    Level 15
    Providence
    Question about the task Ascending numbers
    Java Syntax, Level 6, Lesson 11
    Resolved
    please help idk what I'm doing wrong
    • 6/18/20
    • 1196views
    • 2comments
    0
  • Thomas
    Level 3
    Maria Enzersdorf
    Under discussion
    where is the mistake in my code? public class Solution { public static void main(String[] args) { writeToConsole("Hello, World!"); } public static void writeToConsole(String s) { String text = "printing: "; System.out.printIn(text + s);//write your code here
    • 6/20/20
    • 604views
    • 1comment
    0
  • Goran
    Level 41
    Belgrade
    Question about the task Rounding numbers
    Java Core, Level 8, Lesson 11
    Resolved
    Stuck but don't know where please helpFirst of all don't know why last task is not passing I have closed all input streams. And for third task I am getting advice some number might be int. But how that changes things ?
    • 6/10/20
    • 775views
    • 6comments
    0
  • Ryan
    Level 14
    Ashburn
    Question about the task Task about algorithms
    Java Syntax, Level 8, Lesson 11
    Under discussion
    Feel like I got it, but . . .I have been going around and around on this and I'm finally coming here because it seems like my code is working properly. Below is my input and output: Input: Task Enter twenty words from the keyboard and Display them In alphabetical order Each word Should be on new line Output: alphabetical
    • 2/21/19
    • 2222views
    • 13comments
    0
  • AnnemiekFF
    Level 41
    Breda
    Question about the task Restaurant (part 21)
    Java Multithreading, Level 9, Lesson 15
    Resolved
    Problem with the daemon thread?I'm pretty sure the problem is somewhere inside the daemon thread, but i'm not sure where or how to fix it. Can anybody help with that, since the mentor doesn't give any hints. I am also assuming the last one doesn't verify due to some failure in the daemon thread.
    • 4/20/20
    • 1266views
    • 6comments
    0
  • Michal
    Level 26
    Lodz
    Question about the task Between tabs
    Java Multithreading, Level 2, Lesson 5
    Under discussion
    Does anyone have a solution to this task?
    • 5/30/20
    • 588views
    • 1comment
    0
  • Brad Reed
    Level 19
    Hartford
    Question about the task Seasons on Terra
    Java Syntax, Level 4, Lesson 4
    Resolved
    WinterI can’t get winter to display unless I put it as : If (month==12) System.out.println(“winter”); But then it still tells me it’s wrong, when I do the comparisons (as shown) it prints the other three, not winter....what did I do.
    • 6/20/20
    • 548views
    • 1comment
    0
  • Anjan
    Level 13
    Indianapolis
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    what is wrong int this.please help meI can able to run in Intellij. the output is correct.
    • 5/15/20
    • 574views
    • 3comments
    0
  • Jamie Pyette
    Level 9
    Sault Ste. Marie
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Code not satisisfying the "desecnding order" part.Something to do with negative numbers perhaps? Thanks in advance for any help.
    • 6/16/20
    • 647views
    • 2comments
    0
  • Saranya Singh
    Level 8
    Fremont
    Question about the task This age doesn't work for me…
    Java Syntax, Level 4, Lesson 1
    Under discussion
    Explanation?Hi everyone, So, I solved the problem but I'm having trouble understanding the code. Why do we have to put instead of . What does that do?
    • 4/14/20
    • 1677views
    • 3comments
    1
  • Tata
    Level 16
    Hisar, Haryana
    Question about the task Kind Emma and the summer holidays
    Java Syntax, Level 8, Lesson 8
    Resolved
    Give up now..... 😔😔😔😔idk what's problem with my code. Please please helpppp me...!!!!
    • 6/18/20
    • 530views
    • 1comment
    0
  • Brad Reed
    Level 19
    Hartford
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    Displays lowest number, says it failed anyways...?So it displays 3, and 5 for the final two (the lowest numbers) but still says it doesn’t...?
    • 6/17/20
    • 692views
    • 2comments
    0
  • Randall John
    Level 19
    San Jose
    Question about the task Reading a file
    Java Core, Level 3, Lesson 11
    Archived
    Keep getting exception. Help please!I can't seem to get rid of this error that this solution is throwing. Can anyone help
    • 6/18/20
    • 652views
    • 2comments
    0
  • Rafal Pawlowski
    Level 15
    Swaythling
    Question about the task Changing functionality
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Infinite loop?Hi. Why does the codegym says my program has infinite loop while it has not? Well it might have if someone inputs words eternally but if line is empty or null program does finish job and does meet requirements. I have tested it several times on IntelliJ IDEA and it works correctly. Any idea why it
    • 6/18/20
    • 984views
    • 1comment
    0
  • David
    Level 26
    Bucharest
    Question about the task Rounding numbers
    Java Core, Level 8, Lesson 11
    Under discussion
    Does anyone see what's wrong? I have the right output.I have the right output, it works corectly, but doesn't pass the test. Thank you!
    • 6/18/20
    • 765views
    • 2comments
    0
  • BlueJavaBanana
    Level 37
    Question about the task Word search
    Java Core, Level 10, Lesson 10
    Resolved
    Code works with multiple test scenarios still fails - any ideas?I have tried it with the following: 1. Finding only the first instance of a word 2. Finding multiple instances of the same word (e.g. home in the array three times) 3. All directions 4. Overlapping words 5. Bigger arrays with more words 6. Single words 7. No words Please excuse my verbose code, I
    • 6/18/20
    • 842views
    • 9comments
    0
  • David
    Level 26
    Bucharest
    Question about the task Combining files
    Java Core, Level 8, Lesson 11
    Resolved
    Is there any way I can change the value of append like I am trying at line 30?this way doesn't work. thank you!
    • 6/17/20
    • 678views
    • 6comments
    0
  • Brad Hawk
    Level 20
    Everett
    Question about the task Snake (Part 20/20)
    Games, Level 0, Lesson 1
    Resolved
    My Snake isn't GrowingSomehow I was able to complete all the tasks, but my snake doesn't grow. I can't post my code because I've "completed" the tasks. Does anyone know what could be causing the issue without seeing my code?
    • 4/22/20
    • 1131views
    • 4comments
    0
  • Jhoal
    Level 22
    Berlín
    Question about the task A programmer creates a person
    Java Syntax, Level 5, Lesson 7
    Under discussion
    Help! I don't know what I'm doing wrong!I need your help guys. I don't know if I'm ignoring something but I have an error every time I try to compile the code
    • 6/18/20
    • 1250views
    • 4comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Display a list of keys
    Java Syntax, Level 8, Lesson 3
    Under discussion
    HELP ME PLS GUYSGive me solution pls(
    • 6/19/19
    • 2208views
    • 16comments
    0
  • 1
  • ...
  • 179
  • 180
  • 181
  • 182
  • 183
  • ...
  • 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