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
  • public enum WaysToDie
    Level 23
    Denver
    Question about the task Remembering geometry
    Java Syntax, Level 7, Lesson 7
    Under discussion
    Using the final keywordI have added the final keyword to all the constants in the class. Yet the code still fails
    • 12/18/21
    • 586views
    • 5comments
    0
  • Daniel Whyte
    Level 17
    Question about the task Who called me?
    Java Syntax, Level 9, Lesson 2
    Under discussion
    Thread.currentThread().getStackTrace()[2]What is the significance of referencing the number 2 in the index. My thinking would be that it wants to reference the previous stack so surely it should be a 1 because we start counting from zero?
    • 3/2/21
    • 1267views
    • 3comments
    0
  • MakinTosH
    Level 20
    Vilnius
    Question about the task Shall we play?
    Java Core, Level 6, Lesson 13
    Resolved
    Help understand the outputI get this output when I run my code. In my opinion it displays all the information correctly. What's wrong? Smith:Start game Jones:Start game Gates:Start game Gates:Gather resources Smith:Gather resources Gates:Grow economy Gates:Kill enemies Smith:Grow economy Gates:won! Jones:lost Smith:lost Pr
    • 5/7/19
    • 2162views
    • 7comments
    1
  • Jcode
    Level 27
    Under discussion
    Cat or Tiger?Below are the instructions from Java Core Level 4, Lesson 3 Type casting. Widening and narrowing conversions My question is simple yet I can't establish an answer (that makes sense to me). Why would I need a type variable as a Cat and then assign it to a new object Tiger? It's a Tiger so should a
    • 4/3/22
    • 1300views
    • 14comments
    0
  • Corly Boy
    Level 11
    Bucharest
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 6
    Under discussion
    What am I not doing right?Hi, it looks like I don't understand what I'm being asked to do. The program shows me a rectangle of 8, however it gives me the error: Be sure that you have displayed the correct number of rows. Can you guide me somehow? thanks
    • 4/5/22
    • 636views
    • 1comment
    0
  • LuisRC
    Level 39
    Gijón
    Question about the task Even characters
    Java Core, Level 9, Lesson 5
    Under discussion
    Time outHi there, I try to get this task validated for two times and using different code but every time I got a "Time Out". I have already ran my code on my IDE and it seems to work, One question, the read file should be fully read before writing it on the write file?
    • 4/4/22
    • 654views
    • 3comments
    0
  • lewis wakefield
    Level 0
    Under discussion
    credit repairsGood news I came across NEW HORIZON CREDIT 1 , I used to have a lot of sleepless nights due to my low (FICO) credit score that was below expectations ,and I couldn't access loans and mortgages for the new house I was about buying for me and my lovely wife .   New horizon credit1 has been able t
    • 4/4/22
    • 560views
    • 0comments
    2
  • J
    Level 6
    Tipp City
    Under discussion
    do nothing???I've met all requirements except 'display no results if number is outside of 1-999'. After working so hard to get responses... I certainly thought it'd be easier to get no response 🤔😆 I've also tried this ending in just else{}, along with other multiple options 🤷‍♀️
    • 4/2/22
    • 603views
    • 1comment
    0
  • Piotr Wikarski
    Level 19
    Birmingham
    Under discussion
    New advance CodeGym courses - available when?Do anyone know when roughly the other advance courses: "SQL & Hibernate" and "JSP & Services" are going to be available.??
    • 9/19/19
    • 1887views
    • 5comments
    2
  • LuisRC
    Level 39
    Gijón
    Question about the task Prices 2
    Java Core, Level 8, Lesson 11
    Under discussion
    What is not working?Hi there, First, is the logic of this solution right? Second, what is not working in this piece of code: int index = 0; while(index < products.size()){ Product product = new Product(products.get(index).id, products.get(index).productName, products.get(index).
    • 3/31/22
    • 1026views
    • 22comments
    0
  • Mike S
    Level 28
    Saint Louis
    Question about the task Shuffled just in time
    Java Syntax, Level 13, Lesson 7
    Under discussion
    Infinite Loop? How??Greetings friends, this exercise is driving me crazy on several accounts, but I'll just highlight one. The compiler claims I have an infinite loop in my while() statement. How is this the case? I have a list of set length. The code is written correctly as far as I can tell. Anyone see anything that
    • 3/31/22
    • 719views
    • 2comments
    0
  • Michal
    Level 26
    Lodz
    Question about the task Max constructors
    Java Syntax, Level 5, Lesson 9
    Under discussion
    This course is totaly pointlessI really see no point in payng for a course in which: - im given very brief and chaotic explanations of every subject - then Im asked to do things which were not explained before - tasks eplanations are harder to understand than the task itself - then the only thing i can do is to copy and paste a s
    • 2/27/20
    • 1263views
    • 4comments
    2
  • Gabriel Silva
    Level 5
    Toronto
    Question about the task 18+
    Java Syntax, Level 3, Lesson 8
    Under discussion
    What is wrong?I do not understand what is wrong here, if I put an input less than 18 it shows the message.
    • 3/21/22
    • 495views
    • 3comments
    0
  • chinna gnanesh
    Level 9
    Chennai
    Question about the task Let's put together a rectangle
    Java Syntax, Level 5, Lesson 7
    Under discussion
    Help meHElp me
    • 6/10/19
    • 1495views
    • 3comments
    0
  • windowsGamer
    Level 2
    Olsztyn
    Under discussion
    RobuxRobxu free
    • 3/29/22
    • 585views
    • 0comments
    0
  • B. C
    Level 2
    Tempe
    Under discussion
    Unable to access subscriptionsomehow i have 2 accounts set up- it's taking me through the CAPTCH hell and not letting me log in - it says i have 'no subscription' when it's actually paid for
    • 3/26/22
    • 584views
    • 0comments
    0
  • B. C
    Level 2
    Tempe
    Under discussion
    need to access my accounts: unable to access the paid accounthelp!!!!!!!!!!! it's putting me through the captcha hell of non-stop picture verification
    • 3/26/22
    • 499views
    • 0comments
    0
  • Shivani
    Level 3
    Rohtak
    Resolved
    Secret key for pluginI am asked for a secret key while accessing the installed plugin for codegym in IntelliJ.... can anybody help me out in that?
    • 7/29/18
    • 3551views
    • 7comments
    0
  • Justin Smith
    Level 41
    Greenfield, USA
    Question about the task Chat (part 19)
    Java Multithreading, Level 6, Lesson 15
    Resolved
    Can't figure out why it won't pass 4th requirementI've checked with the solution (I almost always do that before coming here). I can't find any functional difference between my solution and CodeGym's solution, except: - my code validates that the message string has a colon in it (just in case something buggy happens), CG solution does not check th
    • 3/26/22
    • 638views
    • 2comments
    0
  • Rich
    Level 23
    San Diego
    Question about the task 2048 (Part 5/18)
    Games, Level 0, Lesson 2
    Under discussion
    any hints?any hints as to why it doesn't like my number assignment?
    • 10/3/20
    • 703views
    • 1comment
    0
  • Oskar
    Level 31
    Poznań
    Question about the task Date formatting
    Java Multithreading, Level 2, Lesson 7
    Resolved
    Can anyone help me?What is wrong in here?
    • 4/7/20
    • 1447views
    • 9comments
    0
  • Maven
    Level 17
    United States of America
    Question about the task StringTokenizer
    Java Syntax, Level 9, Lesson 6
    Under discussion
    Why isn't this working? IDE is showing a correct answer.This is frustrating. The instructions are very vague. They've got to write better requirements.
    • 3/23/22
    • 514views
    • 3comments
    0
  • Angel Stefan
    Level 23
    Sibiu
    Question about the task Build a tree (part 4)
    Java Collections, Level 1, Lesson 15
    Under discussion
    getParent() is not working!Any hint's!? Tk you!
    • 3/23/22
    • 579views
    • 3comments
    0
  • Maven
    Level 17
    United States of America
    Question about the task Binary to hexadecimal converter
    Java Syntax, Level 9, Lesson 2
    Under discussion
    toBinary(String hexNumber) is Failing, but passing in the IDEWhat is wrong with my toBinary() method? It looks right to me when I run the code.
    • 3/17/22
    • 1095views
    • 9comments
    0
  • Angel Stefan
    Level 23
    Sibiu
    Question about the task Advanced file search
    Java Collections, Level 1, Lesson 2
    Resolved
    How minSize pass and maxSize no!? Any hint will be appreciated! Tk you! 🙂
    • 3/17/22
    • 534views
    • 4comments
    0
  • Ajani
    Level 16
    Jacksonville
    Question about the task Static modifiers and kittens
    Java Core, Level 5, Lesson 9
    Under discussion
    says i have not initialized a Cat() in the created static block of Solution()However I have and subsequently gotten that cats name to display however that two does not register. Though if its not registering my cat as initialized it makes sense it wouldnt like its name. explain to me why my cat does not count please. (I have looked at the solution so I see what it wants no
    • 3/21/22
    • 484views
    • 1comment
    0
  • Siyanda Dlamini
    Level 7
    Durban
    Question about the task Chess board
    Java Syntax, Level 6, Lesson 5
    Under discussion
    Why is my code failing to pass the last two test even though it works perfectly?My code is failing to pass the last two tasks requirements and I do not know what to fix since the code works as expected. Please help?
    • 3/21/22
    • 617views
    • 1comment
    0
  • Roberto Fernandes
    Level 10
    Vinhedo
    Question about the task Chess board
    Java Syntax, Level 6, Lesson 5
    Under discussion
    Pass testing failed - possible CodeGym bug - I need helpAlthough my program is reading a number and the output data is according to the requested, the task keeps failing to pass testing. I always get the same error: "The program needs to read a number from the keyboard"- failed. I've tried both keyboard input methods, Scanner and InputStream and in both
    • 2/17/22
    • 989views
    • 5comments
    0
  • Roberto Fernandes
    Level 10
    Vinhedo
    Question about the task Chess board
    Java Syntax, Level 6, Lesson 5
    Under discussion
    Still cannot find the bug. Need help to debugI tested the input number from 1 to 5 without any error. Still, I cannot go through the validation and I cannot figure out what is wrong. The result looks like ok, I got the n x n array initiated with '#". I appreciate any help to debug it.
    • 3/17/22
    • 897views
    • 4comments
    0
  • jorge ives murillo paredes
    Level 40
    New York City
    Question about the task Chat (part 14)
    Java Multithreading, Level 6, Lesson 15
    Under discussion
    Problems wait and notifyHello I read and check different examples of wait and modify ,I try different things and I really don't know what is wrong ,I need help
    • 4/19/20
    • 911views
    • 1comment
    0
  • 1
  • ...
  • 48
  • 49
  • 50
  • 51
  • 52
  • ...
  • 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