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
  • Justin Smith
    Level 41
    Greenfield, USA
    Question about the task Data integrity
    Java Collections, Level 2, Lesson 6
    Resolved
    Having trouble getting it to workI am admittedly flailing in the dark somewhat regarding solving this. Partly because it's not entirely clear to me what which things are supposed to be equal. The method MessageDigest.isEqual, which I am assuming I will need to use, takes two byte arrays. So I have been working with the assumption t
    • 24.08.2022
    • 522views
    • 3comments
    0
  • Anitamalina
    Level 18
    København
    Question about the task Different methods for different types
    Java Core, Level 5, Lesson 12
    Resolved
    It seems to work, but can't pass requirements..I don't know, what I'm doing wrong. Anyone have an idea?
    • 24.08.2022
    • 456views
    • 1comment
    0
  • IOTE11_SandeepGurram
    Level 2
    Bhiwandi
    Under discussion
    helphow to unlock all levels
    • 23.08.2022
    • 382views
    • 3comments
    0
  • Louis
    Level 17
    New York
    Question about the task Big Ben
    Java Core, Level 6, Lesson 7
    Under discussion
    I have tested this code and it works, but it's still failing when I try to submit it.It is failing with: "After incrementing the time, the second count cannot be greater than 59. The number of minutes should increase."
    • 23.07.2019
    • 1651views
    • 7comments
    0
  • Hafsah Jilanee
    Level 10
    Karachi
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Resolved
    last 2 reqs not met even tho code is workingMy code is working fine but can not pass testing. Can anyone help me please?
    • 23.08.2022
    • 532views
    • 1comment
    0
  • Kshitij Pimple
    Level 2
    Mumbai
    Question about the task No comments needed
    Java Syntax, Level 0, Lesson 8
    Resolved
    Explain me this question pleaseHow to solve this question please explain me step by step o comments needed Uncomment one line so that the program displays the numbers 12 and 2 (first 12, and then 2). Requirements: 1. The program should display the numbers 12 and 2. 2. Don't change the lines that declare variables. 3. The progra
    • 01.02.2019
    • 1982views
    • 2comments
    0
  • Andres
    Level 4
    Reedley
    Question about the task More conversions
    Java Syntax, Level 3, Lesson 8
    Under discussion
    i need help please i dont know what i did wrong
    • 12.08.2020
    • 588views
    • 2comments
    0
  • michal9696
    Level 1
    Poland
    Question about the task Memory defragmentation
    Java Syntax, Level 10, Lesson 5
    Archived
    Some hintHi, I have a problem with this exercise. Could you give me some hint how to solve this?
    • 16.08.2022
    • 586views
    • 4comments
    0
  • Raakesh Singh chauhan
    Level 3
    Question about the task Currency exchange
    Java Syntax, Level 3, Lesson 3
    Under discussion
    please help me outwhat mistake i am doing in this code
    • 11.09.2018
    • 2598views
    • 9comments
    1
  • Justin Smith
    Level 41
    Greenfield, USA
    Question about the task Build a tree (part 4)
    Java Collections, Level 1, Lesson 15
    Resolved
    The intended design of this tree is not clear from the instructionsIn the example graphic, I understand that each Entry has a right and left "child" Entry, or at least the potential to have them. I also understand that if you remove an Entry (such as in the example list.remove("3")) it removes all the child entries as well. But I do not understand the placement of
    • 16.08.2022
    • 624views
    • 3comments
    0
  • Jakhongir Ruziev
    Level 23
    Tashkent
    Question about the task Task about algorithms
    Java Syntax, Level 9, Lesson 11
    Resolved
    Struggling with isGreaterThan(String a, String b) method. Did not quite get how it works. Can someone please clarify on that. I would really appreciate it🙏
    • 11.04.2020
    • 1059views
    • 8comments
    0
  • Whisper
    Level 31
    Question about the task From a data stream to a list
    Java Syntax, Level 19, Lesson 7
    Under discussion
    Why Collector keyword is ignored?When you convert a Stream Object into a List Object, Why numbers .filter(number -> number > 0) .collect(Collector.toList()); does not work?
    • 15.08.2022
    • 590views
    • 4comments
    0
  • Steveo
    Level 14
    London
    Question about the task Chess board
    Java Syntax, Level 6, Lesson 5
    Resolved
    array must be filled ???My code runs and i get the expected output but i cant get the 3rd of 4 conditions to be met to complete the task and i have no idea what im missing. any help appreciated
    • 05.08.2022
    • 553views
    • 2comments
    0
  • Alex Tor
    Level 31
    Question about the task Let's work with StringBuilder
    Java Syntax, Level 10, Lesson 7
    Resolved
    Don't understand what output is being expected here.Hi team, This code gives the following output: Learn, learn, and learn again! A rolling stone gathers no moss Learn, learn, an, in! //Learn, learn, and learn again! - first parameter //A rolling stone gathers no moss - second parameter but the judge keeps talking to me: Be sure that the a
    • 11.08.2022
    • 401views
    • 2comments
    0
  • Alex Tor
    Level 31
    Question about the task Path update
    Java Syntax, Level 10, Lesson 5
    Resolved
    I've been trying at least two different ways - none of them seem to be worked.Hi guys, pls, gimme a hint, as it's most likely I didn't get what kind of implementation they want. Thank you!
    • 10.08.2022
    • 331views
    • 2comments
    0
  • sumit singh
    Level 5
    Question about the task Filled rectangle
    Java Syntax, Level 4, Lesson 3
    Under discussion
    program ran for too long?i am trying to complete a task but it is showing that the program ran for too long. what should i do?
    • 09.08.2022
    • 390views
    • 2comments
    0
  • michal9696
    Level 1
    Poland
    Question about the task Increments
    Java Syntax, Level 8, Lesson 3
    Resolved
    Hi, I don't know if I good understandHi, I don't know if I good understand that: a = 3 b = ++a + (a-- * ++a) 1. first a-- from parentheses: b = 3 + (2 * 3) 2. second ++a from parentheses: b = 3 [3-1(postfix a--)+1(prefix ++a)] + (3 [2+1(prefix ++a)] * 3 [3-1(postfix a--)+1(prefix ++a)]) 3. third ++a outside parentheses: b = 4 [3+1(pre
    • 09.08.2022
    • 474views
    • 3comments
    0
  • Alex Tor
    Level 31
    Question about the task Binary converter
    Java Syntax, Level 10, Lesson 2
    Resolved
    What's wrong with toBinary(int)Hello everyone, There is something wrong with the method toBinary(int) pls, gimme a hint. Thank you in advance!
    • 08.08.2022
    • 385views
    • 3comments
    0
  • Anitamalina
    Level 18
    København
    Question about the task GCD
    Java Core, Level 4, Lesson 8
    Resolved
    Inifinite wild loop errorI get that message when evaluating my code on codeGym, but I can't seem to find it in my IDE. It gives me the correct result. But maybe there is a test case I'm unaware of?
    • 08.08.2022
    • 541views
    • 1comment
    0
  • Paul
    Level 24
    Vienna
    Question about the task Mastering the static block
    Java Core, Level 5, Lesson 12
    Under discussion
    Failing to create a plane objectHi I don't understand what is going wrong in my code. It seems the plane object can't be created. Thanks for any hints
    • 07.08.2022
    • 498views
    • 4comments
    0
  • Coboliste
    Level 46
    Casablanca
    Question about the task Tracking changes
    Java Core, Level 9, Lesson 11
    Resolved
    The code works correctly, but still rejected because of the last requirement !Hi everyone, The code seems working correctly, I got the same expected results for the two examples, but the code is still rejected by the validator, can any one please tell me the reason behind that ? thanks a lot. Recommendation from the mentor Be sure that the lines list has the SAME label with
    • 06.08.2022
    • 406views
    • 2comments
    0
  • Dawn( #11020889)
    Level 37
    Toronto
    Question about the task Binary to hexadecimal converter
    Java Syntax, Level 9, Lesson 2
    Under discussion
    i totally have no ideahexToBinary method run successfully and also i test some other number, but failed the task test. why? please help me!
    • 05.08.2022
    • 393views
    • 1comment
    0
  • Anitamalina
    Level 18
    København
    Question about the task User, loser, coder and programmer
    Java Core, Level 4, Lesson 8
    Under discussion
    I print correct, I think - but still don't pass :SI have made static methods in Person.java.. otherwise, my method doWork in Solution-class wouldn't work.. e.g. Person.User.live(); But I can't pass the last requirements?.. Anyone who can tell what I am doing wrong?
    • 04.08.2022
    • 564views
    • 8comments
    0
  • Anitamalina
    Level 18
    København
    Question about the task Wine tasting
    Java Core, Level 4, Lesson 8
    Resolved
    I can't pass the requirements.. ?I changed the return type of the method: public static SparklingWine getSparklingWine() to SparklingWine instead of Wine. But neither works.. so I don't understand what to do different?
    • 04.08.2022
    • 368views
    • 1comment
    0
  • Anitamalina
    Level 18
    København
    Question about the task Minesweeper (Part 13/16)
    Games, Level 0, Lesson 0
    Under discussion
    Can't pass two requirementsI can't pass the last requirements. Maybe it's the sentence "and the last revealed cell is not a mine" - that I don't do right ?.. Anyone knows?
    • 03.08.2022
    • 332views
    • 2comments
    0
  • Jaime Padilla
    Level 20
    Chandler
    Question about the task Chasing after types
    Java Syntax, Level 13, Lesson 7
    Under discussion
    Not validatingIt seems to work perfectly. Not sure why the last condition is not passing.
    • 30.07.2022
    • 438views
    • 2comments
    0
  • Dawn( #11020889)
    Level 37
    Toronto
    Question about the task Binary converter
    Java Syntax, Level 9, Lesson 2
    Under discussion
    what's the problem?after running my code i got the correct result, but the task failed. why? anyone can help? Please!
    • 31.07.2022
    • 361views
    • 3comments
    0
  • Abhishek Rangari
    Level 22
    Nagpur
    Question about the task Factory method pattern
    Java Core, Level 6, Lesson 13
    Resolved
    Can someone help me in this taskLast condition is not satisfying
    • 13.12.2018
    • 2795views
    • 14comments
    0
  • Денис Чистяков
    Level 30
    Poland
    Question about the task Cat carnage (2)
    Java Syntax, Level 10, Lesson 2
    Resolved
    Why this solution don't pass validator? Why this solution don't pass validator?
    • 01.08.2022
    • 357views
    • 2comments
    0
  • LuisRC
    Level 39
    Gijón
    Question about the task Binary converter
    Java Syntax, Level 9, Lesson 2
    Under discussion
    What's my mistake?Why I'm not able to pass the vaildation? This is the comment from my mentor but I'm not able to see my mistake. Be sure that the toDecimal(String) method returns 0 if it receives an empty string or null as input. Some help, please?
    • 13.01.2022
    • 1003views
    • 5comments
    0
  • 1
  • ...
  • 40
  • 41
  • 42
  • 43
  • 44
  • ...
  • 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