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
  • Arturs Teihmanis
    Level 13
    Jurmala
    Question about the task Price of apples
    Java Syntax, Level 4, Lesson 1
    Resolved
    Output is 150, but still failing.hi, trying code: this.applePrice = this.applePrice + applePrice; output is 150, but still have 3 errors. Can anybody help? Thanks.
    • 8/9/20
    • 801views
    • 2comments
    0
  • marwan
    Level 22
    Question about the task Yet another adapter
    Java Core, Level 9, Lesson 3
    Under discussion
    What the problem with last one ?The validation still give me this massage Be sure that the read() method correctly reads the first name, middle name, and last name from the file and stores them in a Person object.
    • 5/14/20
    • 620views
    • 2comments
    0
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task Chat (part 2)
    Java Multithreading, Level 6, Lesson 15
    Under discussion
    helpplease
    • 9/10/19
    • 1821views
    • 6comments
    0
  • Catherine
    Level 23
    London
    Question about the task Adapting multiple interfaces
    Java Core, Level 9, Lesson 3
    Under discussion
    Okay, I need some insight.This is the second task I have gotten hung up on the same thing. My code keeps failing to run because of the private IncomeData incomeData; line. This is a direct requirement of the task, but whenever I try to run the code, the system comes back saying it is unable to do so because it cannot find In
    • 7/22/20
    • 640views
    • 2comments
    0
  • Igor
    Level 20
    Nis
    Question about the task Different methods for different types
    Java Core, Level 5, Lesson 12
    Under discussion
    What am I missing?My code works excellent, I`v tried everything. Why it does not passing validation?
    • 9/26/19
    • 1260views
    • 3comments
    0
  • Scarlett Lowry
    Level 2
    Brockton
    Question about the task Where does a Person come from?
    Java Syntax, Level 2, Lesson 2
    Resolved
    Help!I cannot figure out how to add a object person under the main method pleas help
    • 4/19/20
    • 987views
    • 2comments
    0
  • Mohammed Amine EL AMRANI
    Level 11
    Rabat
    Question about the task Let's make the code do something useful!
    Java Syntax, Level 9, Lesson 11
    Under discussion
    Someone can help me plzits work in my lab but still give me the issue
    • 1/10/19
    • 1799views
    • 4comments
    0
  • Odhran
    Level 18
    Sheffield
    Question about the task Functionality is not enough!
    Java Syntax, Level 10, Lesson 11
    Resolved
    Please help - I cant work out a resolve to meet the final 2 requirements I have been at this for a day, it works, matches the initial criteria, however the error I keep getting is that I've mixed up the input order. I rectified this by using a LinkedHashmap and cloning it back to the originally declared HashMap variable. I know it needs to read the pairs into thi
    • 8/7/20
    • 641views
    • 3comments
    0
  • Tata
    Level 16
    Hisar, Haryana
    Question about the task Bridges
    Java Core, Level 4, Lesson 8
    Under discussion
    I have a doubt if anyone can clear it, I'd be thankful.🥺does we need static in every method created in static main method? Because in this task println method without static will not work.
    • 8/9/20
    • 600views
    • 1comment
    0
  • Mankin Lee
    Level 9
    Manchester
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Nested for-each loop?I'm trying to implement an outer for-each loop that selects each value of the Hash-map, and an inner for-each loop that then compares each value with the rest of the values. Please help. package com.codegym.task.task08.task0817; import java.util.HashMap; import java.util.Map; import java.util.Coll
    • 8/9/20
    • 530views
    • 1comment
    0
  • Azhar Iqbal
    Level 18
    Multan
    Question about the task Man or woman?
    Java Core, Level 5, Lesson 4
    Resolved
    A little hint is required .I cannot figure out where the problem is ??
    • 10/3/18
    • 1361views
    • 3comments
    0
  • Adam
    Level 17
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Resolved
    Program should display the maximum of the N entered numbers.Hi! I'm not sure what's wrong with this code since it seems to work. If I enter a number higher than 0 it loops through that many times and assigns the value to maximum. If the number is higher the second loop it assigns the variable maximum to the new higher value. Then it prints the highest num
    • 8/8/20
    • 653views
    • 3comments
    0
  • Adnan Razzaq
    Level 15
    Bamberg
    Question about the task Something superfluous
    Java Core, Level 5, Lesson 4
    Under discussion
    can someone explain how these are being called?please share a link for help
    • 10/13/19
    • 1218views
    • 4comments
    0
  • Nithin
    Level 35
    Hyderabad
    Question about the task Something superfluous
    Java Core, Level 5, Lesson 4
    Under discussion
    help me understand this print(1); public static void print(Integer i) { System.out.println("This is an Integer"); } or public static void print(double i) { System.out.println("This is a double"); } why it is calling double parameter instead of Integer. I thought it will call Integer parameter due
    • 5/30/19
    • 1539views
    • 2comments
    0
  • Joyonta Saha
    Level 31
    Question about the task MVC (part 9)
    Java Multithreading, Level 4, Lesson 14
    Under discussion
    Have not comprehended MVC properly though completed the tasks ...Any tips or reference links for proper understanding?Help!
    • 7/11/19
    • 1248views
    • 2comments
    2
  • Clark Willms
    Level 9
    Omaha
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Under discussion
    The output is correct....My output is correct, but I can't resolve all the conditions. Maybe I've been staring at this too long, can anyone point out my failure?
    • 8/8/20
    • 478views
    • 1comment
    0
  • James
    Level 41
    Not in list
    Question about the task Prices 2
    Java Core, Level 8, Lesson 11
    Under discussion
    HelpPlease help, not sure what's wrong
    • 8/8/20
    • 559views
    • 1comment
    0
  • Jeanne Vo
    Level 22
    Olympia
    Question about the task OOP: The Euro is money too
    Java Core, Level 5, Lesson 12
    Under discussion
    Override abstract methodThe compiler tells me I couldn't override abstract method but how can I fix it?
    • 8/8/20
    • 545views
    • 2comments
    0
  • Radek
    Level 22
    Warsaw
    Question about the task Finding data inside a file
    Java Core, Level 8, Lesson 11
    Resolved
    how to display the data?After many changes making to my solution I decided give up to ask for help:) I displayed found data in original form (the whole line matching criteria) and after cut of id from the beginning in another solution, still without positive effect . Finally, i am lost how to understand "Display it in the
    • 11/17/18
    • 2144views
    • 3comments
    0
  • Laura
    Level 7
    Lübeck
    Question about the task Financial expectations
    Java Syntax, Level 3, Lesson 12
    Under discussion
    I don't know to read an integer from the keyboardI need help to verify my code I think I understand it with a String but now Idk how to make it with an integer
    • 8/8/20
    • 836views
    • 6comments
    0
  • AlfredW
    Level 23
    Denver
    Question about the task Food
    Java Core, Level 4, Lesson 4
    Under discussion
    I am completely baffledWell I got the answer to verify, But I am a complete loss as to why or what is going on in this code. I was only able to get it because I read through and used other comments.
    • 8/8/20
    • 533views
    • 1comment
    0
  • monipuff
    Level 22
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    requirements not met?
    • 8/8/20
    • 855views
    • 1comment
    0
  • Angelika
    Level 25
    Budapest
    Question about the task Factory method pattern
    Java Core, Level 6, Lesson 13
    Resolved
    Can somebody help me what's wrong with my code?Last four conditions did not verify. Don1T understand why. Help, please! Thanks!
    • 10/31/19
    • 1275views
    • 2comments
    1
  • Jan Elšík
    Level 41
    Prague
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Resolved
    Please helpI think the problem is when I remove "r" words, it jumps a word. Anyone know how to overcome this?
    • 8/8/20
    • 670views
    • 3comments
    0
  • matt
    Level 24
    Springfield
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Resolved
    Can someone tell me why this code isn't passing , it is coming up with the right answerCan someone tell me why this code isn't passing , it is coming up with the right answer
    • 8/7/20
    • 740views
    • 2comments
    0
  • PaFi
    Level 16
    Question about the task Sequential file output
    Java Core, Level 6, Lesson 13
    Resolved
    Be sure that the getFileContents method returns all the file contents, not just a part of it.I don't see why this condition is not passed: - output exactly meets specs as far as I can tell - no extra space at the end of the last line Insights, anyone?
    • 2/20/20
    • 1236views
    • 2comments
    1
  • BlueJavaBanana
    Level 37
    Question about the task Sometimes anonymity is so nice!
    Java Multithreading, Level 3, Lesson 8
    Resolved
    Why does it pass for all but two?Everything is the same?
    • 7/26/20
    • 683views
    • 2comments
    0
  • Onome Brownly-Otiede
    Level 9
    Galway
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    i dont know what to do omg please help
    • 6/27/20
    • 983views
    • 4comments
    0
  • AlfredW
    Level 23
    Denver
    Question about the task Set of cats
    Java Syntax, Level 8, Lesson 11
    Under discussion
    I got the task done But I don't understand the output.I was able to get it to work correctly several ways with the correct output. But the only way that it would Verify was one that gave this output: "com.codegym.task.task08.task0819.Solution$Cat@28d93b30 com.codegym.task.task08.task0819.Solution$Cat@1b6d3586 Process finished with exit code 0" So I
    • 7/12/20
    • 824views
    • 6comments
    0
  • Onome Brownly-Otiede
    Level 9
    Galway
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Under discussion
    pls help
    • 8/7/20
    • 738views
    • 1comment
    0
  • 1
  • ...
  • 155
  • 156
  • 157
  • 158
  • 159
  • ...
  • 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