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
  • Bogdan Codreanu
    Level 23
    Question about the task Reader wrapper
    Java Core, Level 9, Lesson 8
    Resolved
    help please can't validate last condition
    • 8/20/19
    • 1680views
    • 3comments
    1
  • Tony Roy
    Level 41
    Victorville
    Question about the task Words with numbers
    Java Core, Level 9, Lesson 11
    Resolved
    code (apparently) works but won't verifySeems to work, including on test files mentioned in other answers. But fails verification!
    • 3/31/20
    • 1138views
    • 3comments
    0
  • CREATIVE COMMON
    Level 4
    Nashik
    Question about the task Display right away
    Java Syntax, Level 3, Lesson 3
    Under discussion
    help pleaseunable to figure out how and what to do
    • 3/24/20
    • 1154views
    • 2comments
    0
  • Gabby
    Level 2
    Ashburn
    Under discussion
    Need units of matter.R.S.V.P. I need units of matter. I can't afford premium. I'm only level 2. How do I get more tasks without premium (or paying money?)
    • 3/31/20
    • 1018views
    • 3comments
    0
  • Pablo Souza
    Level 22
    Brisbane
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Ok folks I need serious help with this one.I feel like I hit a brick wall with this one. I'll need all the help i can get. My approach is to always understand exactly what's going on, even If I need to copy someone else's code. First of all I need to understand what removeItemFromMapByValue is doing. Could someone help me understand that me
    • 3/31/20
    • 1585views
    • 3comments
    0
  • hidden #10568956
    Level 9
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Resolved
    Requirment 2 and 5 failHello, I did manage the output to be correct, but still i'm not able to figure out were is the problem.
    • 3/28/20
    • 1088views
    • 2comments
    0
  • Przemysław Dr
    Level 20
    Tricity
    Under discussion
    Should I pay more for reCheck option or should CodeGym pay me?I would like to help others in learning, try to explain possible solutions at "help" forum, but CodeGym sometimes makes it impossible. When I try to help, I usually try to correct someone's code because it's better than giving my full code that passed requirements, but sometimes code is so complic
    • 3/30/20
    • 993views
    • 1comment
    0
  • Alban
    Level 14
    Kukes
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    Help I can't find the correct solution!Please helpp
    • 1/25/20
    • 1431views
    • 4comments
    0
  • Liliane Top
    Level 17
    Amsterdam
    Question about the task OOP: Fix inheritance problems
    Java Core, Level 5, Lesson 2
    Resolved
    Why am I failing the testThe output is correct. Not sure what is required. String is an object so.....
    • 3/29/20
    • 1124views
    • 3comments
    0
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task User, loser, coder and programmer
    Java Core, Level 4, Lesson 8
    Resolved
    What is wrong in my code?need hint
    • 2/14/19
    • 2268views
    • 2comments
    3
  • Anton
    Level 26
    Oslo
    Question about the task Positive number
    Java Syntax, Level 4, Lesson 7
    Resolved
    Do not pass the 3rd requirement.Why don't I pass the third requirement?
    • 3/30/20
    • 1103views
    • 1comment
    0
  • Johannes
    Level 27
    Centurion, Pretoria
    Question about the task Feng Shui and statics
    Java Syntax, Level 6, Lesson 11
    Resolved
    My task works, but I don't understand something ?why can I declare A as static, and then access it without having to specify the class name in front of it ? I thought static variables in the class can only be referenced by putting the class name in front of it, not directly ? Please help me if I'm wrong ? Second question: Why should B and C not a
    • 3/4/20
    • 1269views
    • 2comments
    0
  • Johannes
    Level 27
    Centurion, Pretoria
    Question about the task Task about algorithms
    Java Syntax, Level 8, Lesson 11
    Resolved
    How can I see the "System.out.println()" output in IntelliJ IDEA ? It only shows that it ran the program successfully with return code 0.
    • 3/13/20
    • 1141views
    • 5comments
    0
  • Johannes
    Level 27
    Centurion, Pretoria
    Resolved
    How do I (in IntelliJ IDEA)...hi how do I just by default run the current Solution ? I have to right-click on my Solution class of any question, and choose run. If I just click RUN at the top, it runs previous questions which I have already completed.
    • 3/18/20
    • 867views
    • 2comments
    0
  • Johannes
    Level 27
    Centurion, Pretoria
    Question about the task Writing to a file from the console
    Java Core, Level 3, Lesson 11
    Resolved
    Works. Why is it not passing ?It's pretty straightforward....
    • 3/24/20
    • 993views
    • 5comments
    0
  • AnnemiekFF
    Level 41
    Breda
    Question about the task Racer (Part 24/28)
    Games, Level 0, Lesson 5
    Resolved
    Wont validate the increase car countI have no idea why he won't validate on the increase car count. I've tried different methods to increase it, checking if it is an instance of Spike, a comparison for type if it is spike, compared if it is instance of car or movingcar. I have tried with passedCarsCount++ and passedCarsCount += 1. I
    • 3/24/20
    • 1091views
    • 3comments
    0
  • Aungk Zaw Htay
    Level 4
    Monywa
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    what is wrong? please help meimport java.io.*;
    • 3/18/20
    • 1146views
    • 2comments
    0
  • hidden #10589341
    Level 19
    Question about the task Finding data inside a file
    Java Core, Level 8, Lesson 11
    Under discussion
    I need help!!I think my fault is line23. String sub = s.substring(0,s.indexOf(" ")); But i don't know how to solve it. Please help me.
    • 3/21/20
    • 980views
    • 2comments
    0
  • Pedro Antonio Mendéz Gutiérrez
    Level 6
    Crown Point
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Resolved
    What is wrong with my code?I do call the abs method I don't understand why it fails.
    • 1/15/20
    • 1268views
    • 2comments
    2
  • hidden #10587300
    Level 14
    Question about the task This age doesn't work for me…
    Java Syntax, Level 4, Lesson 1
    Under discussion
    What's happening here?I completed the solution and got all of the conditions. But I fail to understand why the solution is the correct answer. Can anyone explain what is actually happening in the code?
    • 3/28/20
    • 1269views
    • 1comment
    0
  • Seth
    Level 38
    Warsaw
    Question about the task Building a file
    Java Core, Level 8, Lesson 11
    Resolved
    Everything works but 4 requirements failedHello, My code works but the requirements fail no matter what i do. Could someone help me?
    • 3/28/20
    • 1126views
    • 3comments
    0
  • Tony Roy
    Level 41
    Victorville
    Question about the task Building a file
    Java Core, Level 8, Lesson 11
    Resolved
    works but getting same errors as othersWorks, but getting errors. I believe I have set the comparator so that the TreeMap works as it should. Can't see anything else??
    • 3/29/20
    • 934views
    • 1comment
    0
  • Larisa Alexa
    Level 20
    Iasi
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    Can't meet the following condition: "If several strings are shortest or longest, then consider the very first such string encountered."I have managed to display the string that occurs earlier in the list (shortest/longest) but if they is more than one string of this kind (shortest/ longest) I can't manage to save the index of the first one and display it, it just displays the last of that kind. Any thoughts would be appreciated, th
    • 3/28/20
    • 850views
    • 1comment
    0
  • Ashish RajAnand
    Level 13
    Bhilai
    Question about the task Moon Lander (Part 19/23)
    Games, Level 0, Lesson 4
    Resolved
    please helphow to implement draw method
    • 3/16/20
    • 1182views
    • 6comments
    0
  • Anton Yavorskyi
    Level 5
    Kiev
    Question about the task Three numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    People, please help me!Couldn't pass this condition: "The program should display the ordinal number of the number that is different from the others" For me it looks good, part of my code: if (numb1 == numb2 && numb1 != numb3) System.out.println("3"); else if (numb1 == numb3 &&
    • 3/19/20
    • 1467views
    • 2comments
    0
  • Anton Yavorskyi
    Level 5
    Kiev
    Question about the task Multiplication table
    Java Syntax, Level 4, Lesson 10
    Resolved
    Please people explain me why, if I initialize int j = 1; outside of loop Output is just one line: 1 2 3 4 5 6 7 8 9 10 ? Thanks!public class Solution { public static void main(String[] args) throws Exception { int i = 1; //int j = 1; Output just one line: 1 2 3 4 5 6 7 8 9 10 while (i < 11) { //int j = 1; while (j < 11) {
    • 3/23/20
    • 1283views
    • 2comments
    0
  • Montjoie
    Level 22
    Cologne
    Question about the task Prices 2
    Java Core, Level 8, Lesson 11
    Under discussion
    It says "The item with the updated data should be on the same line in the file." But it is, isn't it?Hello everybody. I don't catch this situtation. My code isn't verified because of the third condition and the recommendation is "The item with the updated data should be on the same line in the file." But my test show exactly this requirement. Can you help me pointing out my mistake? I'd be glad abo
    • 12/1/19
    • 1430views
    • 3comments
    0
  • Goran
    Level 41
    Belgrade
    Question about the task Space Invaders (Part 34/34)
    Games, Level 0, Lesson 6
    Resolved
    Why animation disappeared ?I did everything by instructions but my animation disappeared on player ship and enemy ship. But don't know why ? And before end of task it was working, but something in last steps made it stop working :/
    • 3/28/20
    • 938views
    • 1comment
    0
  • Diana Salvador
    Level 26
    Sintra
    Question about the task Prices
    Java Core, Level 8, Lesson 11
    Under discussion
    Please help!The output seems to be correct...I'm going crazy! Thanks!
    • 2/11/20
    • 1040views
    • 1comment
    0
  • Rismitha Ismail
    Level 2
    Mumbai
    Question about the task Where does a Person come from?
    Java Syntax, Level 2, Lesson 2
    Under discussion
    identifierI got an error says that identifier is missing..can anyone please say this for me?
    • 3/23/20
    • 1046views
    • 2comments
    0
  • 1
  • ...
  • 219
  • 220
  • 221
  • 222
  • 223
  • ...
  • 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