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
  • Ian De Bie
    Level 28
    Austin
    Question about the task Number algorithms
    Java Core, Level 10, Lesson 10
    Resolved
    What can I do to my code to keep it from timing out?not sure if i can pass this one, because it keeps timing out.
    • 11/6/20
    • 624views
    • 7comments
    0
  • Maria
    Level 7
    Berlin
    Question about the task Streets and houses
    Java Syntax, Level 7, Lesson 4
    Archived
    I can not find the mistake!!Hello everyone, can you help me to find the mistake? I think the program is working good, but unfortunately is not validating the third condition. Thank you for your help, I really appreciate it :) Greetings, Maria :)
    • 11/8/20
    • 824views
    • 2comments
    0
  • Maryem Vickers
    Level 7
    HT...
    Question about the task Snake (Part 6/20)
    Games, Level 0, Lesson 1
    Under discussion
    Hey there can I have some help?! What's wrong, Idk how to fix this, been stuck for days.What is wrong so far?! I have tried different ways to solve this, nothing works...?!?!?!
    • 11/5/20
    • 770views
    • 3comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Prices
    Java Core, Level 8, Lesson 11
    Under discussion
    pls help meOne condition left
    • 6/29/19
    • 1511views
    • 2comments
    0
  • Van Ha
    Level 41
    Bodegraven
    Question about the task Fork/Join
    Java Multithreading, Level 10, Lesson 6
    Resolved
    What's wrong?Both function return the same binary string, but task won't validate? Can't really tell what's wrong
    • 3/17/20
    • 938views
    • 1comment
    1
  • Karol
    Level 22
    Przemyśl
    Question about the task Snake (Part 20/20)
    Games, Level 0, Lesson 1
    Resolved
    Problem with running game.Hi, I've got a problem with running my game. This is what Intellij shows. How can I fix it? Exception in Application start method Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccess
    • 11/6/20
    • 487views
    • 2comments
    0
  • Drazen Jankovic
    Level 11
    München
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    works with positive, negative, zero, but does not pass the test ... why? BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int a = Integer.parseInt(reader.readLine()); int b = Integer.parseInt(reader.readLine()); int c = Integer.parseInt(reader.readLine()); if (a >= b && a >= c && b >
    • 11/3/20
    • 672views
    • 2comments
    0
  • Etienne Bélanger
    Level 34
    Longueuil
    Question about the task Palindrome?
    Java Multithreading, Level 10, Lesson 2
    Under discussion
    Where am I wrong?Where am I wrong? I have the illusion to have all the requirement pass, but I can't see it...
    • 5/5/20
    • 586views
    • 2comments
    1
  • Luyi
    Level 31
    Kosice
    Question about the task Mastering the methods of the Integer class
    Java Multithreading, Level 10, Lesson 2
    Archived
    Any tips?Hello there, could you please advice any hints how to pass it?
    • 6/13/20
    • 602views
    • 2comments
    2
  • - FniJnn -
    Level 33
    Paris
    Question about the task The archaic word "biathlon"
    Java Multithreading, Level 9, Lesson 9
    Resolved
    Output is correct, only one change madeThanks :)
    • 3/27/20
    • 1315views
    • 4comments
    2
  • Etienne Bélanger
    Level 34
    Longueuil
    Question about the task Restaurant (part 16)
    Java Multithreading, Level 9, Lesson 15
    Under discussion
    Can't get the third condition to workHi, I can't get the third condition to work. I think the problem is related to the amount per day that should be a double, but it's a long from the beginning of the exercise. I reverse my treemap display (descendingMmap()) which I think it's right, but maybe I don't get the description of the exerc
    • 5/5/20
    • 792views
    • 5comments
    2
  • Thoenes
    Level 4
    Nairobi
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    how do i display nothinghow do you display nothing
    • 11/28/18
    • 1721views
    • 5comments
    0
  • Hossein Shams
    Level 1
    Atlanta
    Question about the task Word search
    Java Core, Level 10, Lesson 10
    Under discussion
    Again, the solution gives me the correct output but it cannot pass the verificationI get the correct output but it cannot pass the verification. I'm getting crazy with these non-solvable tasks. Someone please help me.
    • 10/6/19
    • 1354views
    • 10comments
    0
  • Шарох
    Level 12
    Question about the task Adding
    Java Syntax, Level 4, Lesson 16
    Resolved
    Hi Coders!What should I do after breaking loop?
    • 11/5/20
    • 797views
    • 10comments
    0
  • Jonas
    Level 41
    Vilnius
    Question about the task Caching
    Java Multithreading, Level 9, Lesson 9
    Resolved
    Help pleaseShould I create an anonymous class inside method or where? And how should I return the created instance?
    • 6/4/20
    • 618views
    • 6comments
    2
  • Etienne Bélanger
    Level 34
    Longueuil
    Question about the task Restaurant (part 13)
    Java Multithreading, Level 9, Lesson 15
    Resolved
    I don't understand what's wrongI think the validator don't like my loop for(EventType eventType: EventType.values()){ storage.put(eventType ,new ArrayList()); } I can't figure out the proper way to write this for the validator.
    • 5/4/20
    • 913views
    • 1comment
    4
  • Valuev Nutt
    Level 4
    Chiba
    Question about the task Do we have a pair?
    Java Syntax, Level 4, Lesson 4
    Resolved
    Struggling to get itRequirements are not being met please help thank you
    • 11/6/20
    • 838views
    • 2comments
    0
  • Arko Sarkar
    Level 8
    Mumbai
    Question about the task Remove and insert
    Java Syntax, Level 7, Lesson 6
    Resolved
    What is wrong here?It's working for one iteration, unable to do it for 13. How to correct it?
    • 8/31/18
    • 1976views
    • 3comments
    0
  • Angel Stefan Arjoca
    Level 26
    Bucharest
    Question about the task Stranger things
    Java Core, Level 10, Lesson 2
    Under discussion
    Fix equals() and hashCode() but...Any hint for save/load()? Tk you!
    • 8/31/20
    • 511views
    • 2comments
    0
  • AlfredW
    Level 23
    Denver
    Question about the task Reading and writing static fields to a file
    Java Core, Level 10, Lesson 2
    Resolved
    Curious about part of the codeI am still trying to figure this one out. One thing that I don't see is a constructor for the ClassWithStatic class. Then also, I don't think that this is actually important to the problem, but maybe I am wrong. I don't really understand what this code does, what it is for: @Override pub
    • 11/6/20
    • 830views
    • 1comment
    0
  • Szymon
    Level 41
    Warsaw
    Question about the task GCD
    Java Core, Level 4, Lesson 8
    Under discussion
    hey guys need some help with this taskOutput seems to be correct btw
    • 11/6/20
    • 557views
    • 6comments
    0
  • Etienne Bélanger
    Level 34
    Longueuil
    Question about the task Chat (part 21)
    Java Multithreading, Level 6, Lesson 15
    Resolved
    What am I missing?I have a little doubt that it is cause by this line: ClientGuiView view = new ClientGuiView(this); but not sure. I'm a missing something obvious?
    • 4/14/20
    • 1295views
    • 3comments
    0
  • Jesús de Llera
    Level 23
    Badajoz
    Question about the task Introducing properties
    Java Core, Level 10, Lesson 2
    Resolved
    Looks fine to me, but not passingHi everyone, I have tested the code and I would say it's working OK... Any hint on where the problem would be? Thanks!
    • 7/22/19
    • 1549views
    • 3comments
    5
  • MichelMk
    Level 0
    Zwolle
    Question about the task The code won't compile…
    Java Syntax, Level 9, Lesson 11
    Resolved
    The program fails on displaying the number of copied bytes.I tried many different designs. Nothing worked for this last check. Can anybody give me a hint? Greatly appreciated :D
    • 10/31/20
    • 576views
    • 2comments
    0
  • David Close
    Level 17
    London
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Resolved
    3rd conditionwhy wont 3rd condition satisfy ? the code runs correctly
    • 11/5/20
    • 671views
    • 1comment
    0
  • Andrei
    Level 41
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Under discussion
    Verification does not work is last numbers are the same. Guidance pls!If I have input 1,2,3,4,5,6,7,8,8,8 there will be an error because, as I have figured it out, at the end ".equals(listOfNumbers.get(i + 1) " this part of code will be = 10 and it will give an error. However, I don't know how to modify the code to accept the final value as well. Please offer me some
    • 11/2/20
    • 582views
    • 14comments
    0
  • Andrei
    Level 41
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Resolved
    On paper everything looks fine however when I Verify Task, second to last condition not met (duplicates are not removed) . :(Hi, as written in the title, the second to last condition is not fulfilled. I have gone through the program on paper and pen and for me it makes sense, it should work. Also, when I run the three lines in void main, for line " //removeFirstNameDuplicates(createMap()); " I get the attached err
    • 11/5/20
    • 828views
    • 10comments
    0
  • Niladri pradhan
    Level 33
    Mumbai
    Question about the task HTML Editor (part 22)
    Java Multithreading, Level 8, Lesson 15
    Under discussion
    Whats wrongPlease help JFileChhoser.showSaveDialog() condition not satisfying,
    • 12/27/19
    • 1390views
    • 1comment
    2
  • Onome Brownly-Otiede
    Level 9
    Galway
    Question about the task Console-based piggy bank
    Java Syntax, Level 5, Lesson 12
    Under discussion
    pls helpi made this much progess
    • 11/4/20
    • 585views
    • 2comments
    0
  • sagar
    Level 7
    Question about the task Let's put together a rectangle
    Java Syntax, Level 5, Lesson 7
    Under discussion
    Help Pleaselast condition did'nt meet. Can anyone check where is the problem.
    • 7/28/20
    • 577views
    • 4comments
    0
  • 1
  • ...
  • 118
  • 119
  • 120
  • 121
  • 122
  • ...
  • 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