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
  • 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?
    • 8/16/22
    • 716views
    • 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
    • 9/11/18
    • 2748views
    • 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
    • 8/16/22
    • 765views
    • 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🙏
    • 4/11/20
    • 1192views
    • 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?
    • 8/15/22
    • 704views
    • 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
    • 8/5/22
    • 656views
    • 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
    • 8/11/22
    • 494views
    • 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!
    • 8/10/22
    • 440views
    • 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?
    • 8/9/22
    • 473views
    • 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
    • 8/9/22
    • 564views
    • 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!
    • 8/8/22
    • 469views
    • 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?
    • 8/8/22
    • 646views
    • 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
    • 8/7/22
    • 594views
    • 4comments
    0
  • hidden #10994753
    Level 46
    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
    • 8/6/22
    • 506views
    • 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!
    • 8/5/22
    • 475views
    • 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?
    • 8/4/22
    • 676views
    • 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?
    • 8/4/22
    • 458views
    • 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?
    • 8/3/22
    • 434views
    • 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.
    • 7/30/22
    • 559views
    • 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!
    • 7/31/22
    • 472views
    • 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
    • 12/13/18
    • 2964views
    • 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?
    • 8/1/22
    • 452views
    • 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?
    • 1/13/22
    • 1123views
    • 5comments
    0
  • Glenn Akens
    Level 2
    Riverview
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    not getting the correct c min value and code seems to work without { } brackets as well.I just need a little help understanding this and if I should be writing it any differently. I see other examples with " { } " brackets around the inside of the if statements and I see double boolean && that im a little unsure of how to use as well.
    • 8/20/21
    • 1107views
    • 3comments
    0
  • Alex Tor
    Level 31
    Question about the task Remove duplicate strings
    Java Syntax, Level 6, Lesson 4
    Resolved
    Input \ Output are corresponding to the conditions, but the solution won't validate.Hi guys, Please, gimme a hint. Thank you in advance!
    • 7/20/22
    • 590views
    • 6comments
    1
  • Wojciech Dąbrowski
    Level 1
    Warsaw
    Question about the task Advanced file search
    Java Collections, Level 1, Lesson 2
    Under discussion
    Criteria didn't passet at the same time.Can you help?
    • 12/1/20
    • 699views
    • 2comments
    0
  • Alex Tor
    Level 31
    Question about the task Correct order
    Java Syntax, Level 7, Lesson 2
    Under discussion
    The task was solved, but may it be written in a better way?Hi guys, I solved this task, but I don't like that I had to create a new int[] nums that needed to be populated with the reversed integers from the originating array, and I was wondering if there is another, better way to solve it without being necessary creating a new temporary int[] ? Thank you in
    • 7/27/22
    • 766views
    • 5comments
    0
  • Albert ENG
    Level 6
    Question about the task Positive and negative numbers
    Java Syntax, Level 3, Lesson 10
    Under discussion
    whu my code doesnt work in itneleIDE but it works in Eclipse
    • 7/27/22
    • 429views
    • 1comment
    0
  • Anitamalina
    Level 18
    København
    Question about the task Minesweeper (Part 12/16)
    Games, Level 0, Lesson 0
    Under discussion
    I can't solve this - and I don't understand what is wrong with my code..Can anyone help?
    • 7/27/22
    • 462views
    • 2comments
    0
  • Justin Smith
    Level 41
    Greenfield, USA
    Question about the task Bit operations
    Java Multithreading, Level 10, Lesson 6
    Resolved
    Works flawlessly, follows listed rules perfectly, but won't pass the "allowed operators" criteriaI should start by mentioning that I know Wei Cui posted something that will pass in another person's question, but if I just copy and paste that I won't be learning why my own code is not validating. I can't seem to find any of the listed requirements I'm not in line with, and it works for all value
    • 7/23/22
    • 536views
    • 8comments
    0
  • 1
  • ...
  • 43
  • 44
  • 45
  • 46
  • 47
  • ...
  • 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