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
  • Tomasz
    Level 15
    Warsaw
    Under discussion
    Tasks are not loaded into IntelliJTask are loaded only until level 10, from 11 onwards I cannot find any task in IntelliJ, how to sort it?
    • 12.12.2020
    • 454views
    • 1comment
    0
  • satish
    Level 15
    kadapa
    Question about the task Minesweeper (Part 5/16)
    Games, Level 0, Lesson 0
    Under discussion
    can any one explain 2nd and 4th requirementshow to assign mines and how to count them
    • 12.07.2019
    • 1484views
    • 3comments
    0
  • Шарох
    Level 12
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Resolved
    Hi Coders ! Please help me !
    • 10.12.2020
    • 584views
    • 4comments
    1
  • sourav bamotra
    Level 20
    jammu
    Question about the task Promotion during political debates
    Java Core, Level 6, Lesson 5
    Under discussion
    something new just appeared."volatile" keyword.
    • 25.09.2020
    • 494views
    • 1comment
    0
  • Anitamalina
    Level 18
    København
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Under discussion
    Won't accept last requirement even though I print the right resultI get the right results, but I don't understand, why I don't fulfil the last requirement ? Can someone help me or explain? :)
    • 11.12.2020
    • 329views
    • 2comments
    0
  • Andrei
    Level 41
    Question about the task Different methods for different types
    Java Core, Level 5, Lesson 12
    Resolved
    Last requirement not met, have no idea why. Help please .Hi, I have spent about 4 hours on this program so far but it's starting to kill me. If I add input " This is a String. Value: -555000000000000000000000000000000000000000000000000000000000000000000000000000000 " in the program, nothing happens. If I add just the number: -5550000000000000000000000000
    • 08.12.2020
    • 692views
    • 16comments
    0
  • Andrei
    Level 41
    Question about the task Displaying a stack trace
    Java Core, Level 6, Lesson 3
    Resolved
    What is the order of execution for the for loops in each class?In my opinion this is the logic of execution for the 2 threads (main and SpecialThread): 1. main is run 2. a new thread "thread" is created. 3. thread is assigned a new SpecialThread object. 4. the new thread is started. 5. the **** line is printed. Now the confusion begins for me. In my opinion an
    • 11.12.2020
    • 608views
    • 7comments
    0
  • The Chief
    Level 18
    Question about the task Changing functionality
    Java Syntax, Level 7, Lesson 12
    Under discussion
    How to get the right output?When I compile my program, I'm not getting any errors but the output is just a bunch of red text. What do I have to change to get the middle 3 validation requirements?
    • 09.12.2020
    • 622views
    • 10comments
    0
  • Andrei
    Level 41
    Question about the task My first thread
    Java Core, Level 6, Lesson 3
    Resolved
    Why do we have to use new Thread(task).start(); instead of just task.start() ? public class Solution { public static class TestThread implements Runnable{ public void run(){ System.out.println("My first thread"); } } public static void main(String[] args) { TestThread task = new TestThread(); new Thread(task).start();
    • 11.12.2020
    • 380views
    • 2comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task My second thread
    Java Core, Level 6, Lesson 3
    Under discussion
    what i can do thishelp me pls
    • 27.06.2019
    • 1501views
    • 4comments
    0
  • Andrei
    Level 41
    Question about the task Request parser
    Java Core, Level 5, Lesson 12
    Resolved
    What does codegym want from me???? waaaaaa :((( the output is like in the examples provided yet it is not good. What the hell? Pls help :(((I have created the isDouble class which is from the previous FromHell exercise "Different methods for different types" which checks if a number has "." in it meaning it is a double. This class's method is used in line 75. What have I done wrong?
    • 09.12.2020
    • 718views
    • 10comments
    0
  • Anitamalina
    Level 18
    København
    Question about the task Changing functionality
    Java Syntax, Level 7, Lesson 12
    Resolved
    NullPointerExceptionWhen I run my code in VS code it works, but at codeJudge I get a NullPointerException? Does anyone know why and how to solve it?
    • 09.12.2020
    • 456views
    • 4comments
    0
  • Agata
    Level 20
    Warsaw
    Question about the task CRUD 2
    Java Core, Level 7, Lesson 10
    Resolved
    I don't know what is wrong, help me please :)-c: Be sure that the ids of the added people are displayed on the screen. -u: Be sure that the size of the allPeople list does not change when people's data is updated. -i: Be sure that the person's birth date (format: Apr 15 1990) is displayed.
    • 09.12.2020
    • 389views
    • 2comments
    0
  • Marius Moldovan
    Level 8
    WGC
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    Question about the requirementsHello codegym colleagues! I tried to run the code with List stringX = new ArrayList(); but it kept on failing. Once I have changed the line to an ArrayList - ArrayList stringX = new ArrayList(); it passed. Shouldn't the requirement be to create an ArrayList rather than a list? This was confusing as
    • 09.12.2020
    • 435views
    • 2comments
    0
  • Deepak Chandra
    Level 16
    Visakhapatnam
    Question about the task Identical words in a list
    Java Syntax, Level 10, Lesson 11
    Resolved
    Any body help pleaseThe problem is with first name it doesnt count. By the way there are only 10 inputs because i am testing the code with 10 inputs first because if it works with 10 entries then it should work with 20 entries too as per conditions. Deepak Dheeraj Deepak Deepak Deepak Tim Jim Tim Jack Jim Dheeraj 1 Ti
    • 23.06.2019
    • 1394views
    • 2comments
    0
  • Madi
    Level 6
    Nice
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Resolved
    I dunno what's wrong! plz help!
    • 08.12.2020
    • 546views
    • 4comments
    0
  • Jurij Thmsn
    Level 29
    Flensburg
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Resolved
    Calculating the algorythmI solved this task just because I found the needed divisor in the questions. I understand the code itself but not the calculation of the algorithm at all. Now I really feel like I am lacking the mathematical skills to be a programmer in the future ... Do you have a good tip on how to learn solvin
    • 08.12.2020
    • 814views
    • 2comments
    0
  • Kasia
    Level 22
    Zabrze
    Question about the task Make a family
    Java Syntax, Level 8, Lesson 11
    Resolved
    The output seems fine but it doesn't verifyHello, as in the topic - the program seems to work but the verifier doesn't want to let it go :( It is probably a small mistake that I can't (yet) see ^^" any help appreciate ;3
    • 09.12.2020
    • 740views
    • 2comments
    0
  • Шарох
    Level 12
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    Hi Coders! What's my wrong? 😣
    • 04.12.2020
    • 445views
    • 6comments
    0
  • Ismail ALi
    Level 8
    Fort Worth
    Question about the task Static cats
    Java Syntax, Level 6, Lesson 11
    Under discussion
    helppackage com.codegym.task.task06.task0614; import java.util.ArrayList; /* If you read this then you must be retarded and gay and no one likes you, but if you s subscribe to IsmailEdits on youtube then you are awesome. */ public class Cat { public static ArrayList cats = new ArrayList<>
    • 21.11.2020
    • 459views
    • 2comments
    2
  • Jay
    Level 17
    Washington
    Question about the task Human class constructors
    Java Syntax, Level 10, Lesson 11
    Under discussion
    Explanation of why it wouldn't compile this way As one of my constructors, I used the following: public Human (int weight) { this.weight = weight; } I received the message below. I changed the parameters of the constructor to something else and it compiled and verified. What was it trying to tell me in the error message? I don't know why
    • 05.08.2019
    • 1293views
    • 2comments
    0
  • Niladri pradhan
    Level 33
    Mumbai
    Question about the task Arrange wait and notify methods
    Java Multithreading, Level 7, Lesson 9
    Under discussion
    whats wrongOutput is same in intellij idea
    • 03.12.2019
    • 1492views
    • 4comments
    0
  • hidden #10610717
    Level 23
    Question about the task Cat and Dog objects: 50,000 each
    Java Syntax, Level 6, Lesson 5
    Resolved
    Assistance with last requirementCan't figure out what I'm missing in order to satisfy the last requirement. Can someone assist?
    • 20.08.2020
    • 554views
    • 4comments
    0
  • Josephine
    Level 26
    Normal
    Question about the task Racer (Part 8/28)
    Games, Level 0, Lesson 5
    Under discussion
    The third condition not passingThe players field is intialized as 1 and called the roadMarking object.on move ()What is wrong? speed is passed in the move(1).
    • 07.12.2020
    • 366views
    • 2comments
    0
  • Dmitri
    Level 22
    Seversk
    Question about the task Singleton
    Java Core, Level 4, Lesson 8
    Resolved
    I actually tried several variants but can not pass.like this for example: public class Singleton { private static final Singleton sing = new Singleton; private Singleton(){} public static Singleton getInstance(){ return sing; } }
    • 08.12.2020
    • 590views
    • 5comments
    0
  • Stephen Haokip
    Level 12
    imphal
    Question about the task 20 words that start with the letter "L"
    Java Syntax, Level 8, Lesson 8
    Resolved
    i manage to complete the task.but how does it work. i have no idea besides i want to output the added string. please help
    • 14.08.2020
    • 662views
    • 1comment
    0
  • sourav bamotra
    Level 20
    jammu
    Question about the task Take your turn!
    Java Core, Level 6, Lesson 13
    Under discussion
    This multithreading is going to be in my bad books..lolguys if i just don't make both the threads to join. it will not display result. what actually is going on? well i passed the task because everthing was provided in requirement :\
    • 28.09.2020
    • 461views
    • 1comment
    0
  • Ahu
    Level 5
    Slough
    Question about the task Cats in the Universe
    Java Syntax, Level 4, Lesson 2
    Under discussion
    How comes the result in the display is 2 and not 4? public class Solution { public static void main(String[] args) { Cat cat1 = new Cat(); Cat.count++; Cat cat2 = new Cat(); Cat.count++; System.out.println("The cat count is " + Cat.count); } public static class Cat { public static int co
    • 07.12.2020
    • 583views
    • 2comments
    0
  • Dmitri
    Level 22
    Seversk
    Question about the task Exception invasion
    Java Core, Level 4, Lesson 8
    Resolved
    All exceptions are uniqueAll exceptions are unique. Why this requirement is not fullfilled?
    • 07.12.2020
    • 651views
    • 4comments
    0
  • Asia
    Level 19
    Bydgoszcz
    Question about the task Cat and statics
    Java Syntax, Level 6, Lesson 11
    Under discussion
    How can you do it with for looop?I can see that a lot of you create 10 cats using a for loop, l don't get how could that work. Doesn't it create the same object all the time - cause it has the same reference - cat? To really have 10 cats isn't it necessary for them to have different references, like cat1, cat2 etc? I passed the ta
    • 07.12.2020
    • 526views
    • 3comments
    0
  • 1
  • ...
  • 108
  • 109
  • 110
  • 111
  • 112
  • ...
  • 372
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 © 2025 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2025 CodeGym