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
  • Vitalina
    Level 20
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Please help me! I don't understand what to do at all...Just give me a hint how to resolve it...I saw that a lot of people was saying to use modulus..but i don't understand how to use it in this task... Thanks in advance:)
    • 04.10.2020
    • 953views
    • 5comments
    0
  • remote87
    Level 18
    Sofia
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Under discussion
    Why I can't pass the last check?I don't get it, why am I not passing the last check, I have made tons of tests and everything looks fine to me. Any advice?
    • 17.01.2021
    • 530views
    • 4comments
    0
  • MoJo
    Level 23
    Cairns
    Question about the task Words with numbers
    Java Core, Level 9, Lesson 11
    Under discussion
    Tested and seemd right. Not much to be done wrong here anyways. But computer says noTest input: file1 con4tains l5ines 6with 7words 8separated 9by spaces. Write to file2 all the words that contain numbers, for example, a1 or abc3d. Separate the words with spaces. output to 2nd file: file1 con4tains l5ines 6with 7words 8separated 9by file2 a1 abc3d. am I missing something h
    • 13.01.2021
    • 638views
    • 11comments
    0
  • Angeget
    Level 22
    Potsdam
    Question about the task Stopwatch
    Java Core, Level 6, Lesson 7
    Resolved
    Is there anything i am doing wrong ??? I AM CONFUSED AND NEE SOME HELP!!Is there anything i am doing wrong ??? I AM CONFUSED AND NEE SOME HELP!!
    • 18.02.2019
    • 1745views
    • 3comments
    0
  • Hakim Balogun
    Level 2
    Abuja, FCT.
    Question about the task Nerd break
    Java Syntax, Level 0, Lesson 7
    Under discussion
    Nerd Break video isn't playing!My first Nerd Break video in Java Syntax, Level 0, Lesson 7 does not play. Once I click the 'open' button, all I get is just a blank black box! (Apparently this is the frame that should contain the video). Can anyone please help with solutions or ideas to make it work?
    • 10.03.2019
    • 1133views
    • 3comments
    0
  • Jurij Thmsn
    Level 29
    Flensburg
    Question about the task HashMap of cats
    Java Syntax, Level 8, Lesson 3
    Resolved
    Don't understand output.I solved the task so i don't want to post the correct code. I stillt don't get the output. The output is like: Tiger - TIGER Missy - MISSY (..) Why isn't the output something like this: Missy - com.example.übung.Übung$Cat@681a9515 Tiger - com.example.übung.Übung$Cat@3af49f1c (...) I understand tha
    • 15.01.2021
    • 671views
    • 3comments
    0
  • zub
    Level 41
    Milan
    Question about the task Kind Emma and the summer holidays
    Java Syntax, Level 8, Lesson 8
    Resolved
    Am I even close?Not having output makes it hard to tell if I'm getting close.
    • 16.01.2021
    • 525views
    • 2comments
    0
  • MoJo
    Level 23
    Cairns
    Question about the task Long words
    Java Core, Level 9, Lesson 11
    Resolved
    I checked other questions, but they don't apply to thisTest input (i tried starting/ending with >6 and <7 still works as should be): hi what is up longerthansix waylongerthansix short goodday 666666 7777777 output: longerthansix,waylongerthansix,goodday,7777777 not sure whats wrong here do you spot it? thanks!
    • 15.01.2021
    • 594views
    • 3comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Deadlock
    Java Core, Level 6, Lesson 13
    Under discussion
    Can you five me the solution?Help pls
    • 27.06.2019
    • 1255views
    • 2comments
    0
  • Liliane Top
    Level 24
    Amsterdam
    Question about the task Introducing tags
    Java Core, Level 9, Lesson 11
    Resolved
    I'm looking for a proper regex cheatsheet.What is the regex for: somewhere in the string find "wordA" followed by anything till "wordB"? I'm able to get the tags but due to the nested tags it adds too many tags. I think the solution would be in a proper match of the opening and closing tag. I can't find a website with properly described reg
    • 11.01.2021
    • 731views
    • 9comments
    0
  • Chandan Thapa
    Level 22
    Dubai
    Question about the task Tracking changes
    Java Core, Level 9, Lesson 11
    Under discussion
    im lost in the loop... Someone please get me out of this....one is connected to the other.. loop within a loop and i think it needs more nesting or not!! Any help would be great..please show me the way :)
    • 15.01.2021
    • 557views
    • 4comments
    0
  • Marek Pasierbek
    Level 9
    Poznań
    Question about the task Clocks
    Java Core, Level 6, Lesson 7
    Under discussion
    Can't do verificationI don't know what is wrong? After some time I have information that versification is too long.
    • 01.09.2020
    • 537views
    • 3comments
    0
  • Gangadhar
    Level 18
    Question about the task Promotion during political debates
    Java Core, Level 6, Lesson 5
    Under discussion
    i cant understand?what is the purpose of while loop here?
    • 09.05.2020
    • 712views
    • 3comments
    0
  • Liliane Top
    Level 24
    Amsterdam
    Question about the task Reading and writing to a file: CodeGym
    Java Core, Level 10, Lesson 2
    Resolved
    Needs come helpWhy do I fail the test? 1) I also do not understand why you can create another CodeGym. You would assume that it should be a singleton? 2) I do not understand why you use codeGym.save(outputStream) what is this suppose to do? I would think that you would save new users to the list that is in the cla
    • 15.01.2021
    • 934views
    • 11comments
    0
  • Gellert Varga
    Level 23
    Szekesfehervar
    Resolved
    What does the word "state" mean?"An interface only describes behavior. It has no state. But an abstract class includes state: it describes both." Supposedly this is a very important sentence (from this lesson: https://codegym.cc/groups/posts/104-the-difference-between-abstract-classes-and-interfaces ). OK. But what does the word
    • 14.01.2021
    • 892views
    • 8comments
    0
  • Michael Brookshaw
    Level 7
    Tenerife
    Question about the task Seasons on Terra
    Java Syntax, Level 4, Lesson 4
    Under discussion
    A little clarification please.The final requirement isn't met ("text should be displayed...) But the console output is correct.
    • 18.12.2020
    • 541views
    • 5comments
    0
  • Onur Bal
    Level 27
    Istanbul
    Question about the task Cat code won't compile
    Java Syntax, Level 7, Lesson 12
    Resolved
    Task Verified Despite Getting an Error in OutputI was able to get my solution verified, but strangely enough I got the following error in the output area: java.lang.NullPointerException at com.codegym.task.task07.task0726.Solution.main(Solution.java:22) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethod
    • 10.09.2020
    • 806views
    • 6comments
    0
  • Dinesh
    Level 7
    Delhi
    Under discussion
    Please Check my comments for this codePlease notify with any improvement if required . or any explanation regarding this. public class Test{ //this is instance or class varible or field that is declared as static static int total = 10; public static void main(String[]args){ //Object of class Test created new Test(); } //Meth
    • 12.01.2021
    • 586views
    • 7comments
    0
  • James
    Level 41
    Not in list
    Question about the task Racer (Part 12/28)
    Games, Level 0, Lesson 5
    Under discussion
    I can't find the errorI keep getting Be sure that the addRoadObject(RoadObjectType, Game) method has the following line: int x = game.getRandomNumber(FIRST_LANE_POSITION, FOURTH_LANE_POSITION); Be sure that the addRoadObject(RoadObjectType, Game) method has the following line: int y = -1 * RoadObject.getHeight(type); Be
    • 14.08.2020
    • 512views
    • 0comments
    0
  • Malte Böhm
    Level 12
    Question about the task Minesweeper (Part 1/16)
    Games, Level 0, Lesson 0
    Under discussion
    Error - Files were in DropboxHey there, files were located in Dropbox and it was unable to install Java FX i guess. Now the issue is that it only opens the Conditions but nothing else
    • 16.08.2020
    • 750views
    • 0comments
    0
  • Kamil
    Level 31
    Near Warsaw
    Question about the task Log parser (part 7)
    Java Collections, Level 7, Lesson 15
    Under discussion
    No way to get throughMy code may not seem clean but after all it works and gives good results while debugging. Anyone could verify what's wrong? Maybe I'm blind for some mistake.
    • 17.08.2020
    • 409views
    • 0comments
    0
  • Tata
    Level 16
    Hisar, Haryana
    Question about the task Different methods for different types
    Java Core, Level 5, Lesson 12
    Under discussion
    Stuck!!!☹️I've no idea what should i do??? pls help yaar...
    • 20.08.2020
    • 523views
    • 0comments
    0
  • Petros
    Level 23
    Columbia
    Question about the task Rounding numbers
    Java Core, Level 8, Lesson 11
    Under discussion
    Can't get the correct numbers to displayI've spent the last few hours on this. The Help section got me to where the rounded number are stored in an int variable but when I test the code locally, the output file has bizarre characters. How can I get it to write the actual numbers that was put into the int and not lookup the ASCII values?
    • 21.08.2020
    • 456views
    • 1comment
    0
  • Bullock
    Level 20
    Trappes
    Under discussion
    Problème d'héritageJe n'arrive pas à valider toutes les conditions car la classe Mineswepper n'hérites pas de la classe Games et je ne sais pas comment m'y prendre .
    • 24.08.2020
    • 376views
    • 0comments
    0
  • Abir Raihan
    Level 2
    Under discussion
    help me help
    • 27.08.2020
    • 372views
    • 0comments
    0
  • Ákos Kovács
    Level 10
    Budapest
    Under discussion
    Continue working on tasks on another computerI have set up IntelliJ plugin on my other computer to continue work on tasks. I logged in and downloaded the project, but I couldn't see my actual tasks in the list. List of tasks contains all of the exercises beginning with the first lesson.
    • 29.08.2020
    • 515views
    • 0comments
    0
  • Baurzhan Konurbayev
    Level 40
    Question about the task Number algorithms
    Java Core, Level 10, Lesson 10
    Under discussion
    What am I missingHi Have sample tests work fine, but the last test still fails. Could you give me some hints, pleaSe? Thank you!
    • 30.08.2020
    • 463views
    • 0comments
    0
  • LennyMan
    Level 25
    Lucca
    Question about the task Using RandomAccessFile
    Java Collections, Level 2, Lesson 2
    Under discussion
    Chinese charactersSo my program pass the validation, i actually complete the task but is printing in the .txt file some chinese characters instead of true or false Someone do know why? Im pretty sure its some bugs in the process of covert bytes to strings, but my solution its identical to the codegym solution...c
    • 14.01.2021
    • 938views
    • 5comments
    0
  • Talha Javed
    Level 4
    sialkot
    Question about the task Come on, lucky seven!
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Can anyoneWhat Is wrong in this code?
    • 08.11.2018
    • 1973views
    • 15comments
    0
  • Nakul Sehgal
    Level 9
    New Delhi
    Question about the task Good or bad?
    Java Syntax, Level 4, Lesson 4
    Under discussion
    How did we use method compare directly instead of creating an object?We called the compare() method directly in main() method. Should we not have created an object first, through "Solution solution = new Solution();" and used the compare method like this: solution.compare(3); solution.compare(6); solution.compare(5);
    • 10.04.2020
    • 984views
    • 2comments
    0
  • 1
  • ...
  • 93
  • 94
  • 95
  • 96
  • 97
  • ...
  • 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