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
  • Wouter Van Kerschaver
    Level 6
    Oostende
    Question about the task Snake (Part 4/20)
    Games, Level 0, Lesson 1
    Resolved
    draw method must be called on created appleAs far as i can see i am using the draw method on the created apple ..........
    • 15.07.2019
    • 2651views
    • 5comments
    2
  • Павел Артеменко
    Level 41
    Krasnodar
    Question about the task 2048 (part 15)
    Java Multithreading, Level 10, Lesson 15
    Under discussion
    What am I doing wrong?Somehow can't get it verified.
    • 31.05.2019
    • 1571views
    • 4comments
    0
  • umidbek
    Level 17
    Tashkent
    Question about the task Visitors
    Java Core, Level 2, Lesson 12
    Resolved
    What is the problem here? The first requirement isn't accepted.public class Solution { public static void main(String[] args) { System.out.println(getObjectType(new Cat())); System.out.println(getObjectType(new Tiger())); System.out.println(getObjectType(new Lion())); System.out.println(getObjectType(new Bull())); Sys
    • 29.09.2020
    • 496views
    • 4comments
    0
  • Seferi
    Level 22
    Question about the task CRUD 2
    Java Core, Level 7, Lesson 10
    Resolved
    whats wrong with the switch statement?Help is appreciated
    • 29.09.2020
    • 497views
    • 3comments
    0
  • Pioniio
    Level 22
    Schaffhausen
    Question about the task Big Ben
    Java Core, Level 6, Lesson 7
    Resolved
    Program ran too long and was closedthe output looks like the example, but i get the error message that it run too long. where is the mistake? thanks
    • 02.06.2019
    • 1663views
    • 3comments
    2
  • BlueJavaBanana
    Level 37
    Question about the task Inheriting an inner class
    Java Multithreading, Level 4, Lesson 4
    Resolved
    No idea whats wrong? Any clues?Not passing but it is doing as required?
    • 02.08.2020
    • 642views
    • 3comments
    0
  • Alvin B
    Level 8
    Newark
    Question about the task Move one static modifier
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Simple Task not WorkingThe task seems simple enough. What is wrong here? Everything seems to work according to requirements. Please help. Thanks in advance.
    • 29.09.2020
    • 430views
    • 1comment
    0
  • sergio
    Level 7
    Colorado
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    help pleaseI am not sure how to use the min method within the other method?? do i just move it into the other method so that it runs it with in?? im focused.
    • 27.09.2020
    • 480views
    • 5comments
    0
  • sergio
    Level 7
    Colorado
    Question about the task Minimum of two numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    help im not sure why it won't compile not sure what's wrong. thank you.
    • 28.09.2020
    • 455views
    • 6comments
    0
  • The Chief
    Level 18
    Question about the task Sum of the digits of a three-digit number
    Java Syntax, Level 3, Lesson 12
    Under discussion
    How do I initialize the other 'sum'?The compiler says that the 'sum' on the right side of the equal sign on line 17 might not have been initialized. How do I correct this?
    • 29.09.2020
    • 356views
    • 1comment
    0
  • Angelo Spampinato
    Level 18
    Boston
    Question about the task Compiling the program
    Java Core, Level 3, Lesson 11
    Under discussion
    Not sure how to get this to passI'm not really sure what to do to get this to pass, could anyone help? Thanks!
    • 30.06.2020
    • 610views
    • 2comments
    0
  • sourav bamotra
    Level 20
    jammu
    Question about the task Consecutive threads
    Java Core, Level 6, Lesson 13
    Under discussion
    2nd and last condition not met. how to apply join() method on each thread in main
    • 28.09.2020
    • 415views
    • 4comments
    0
  • Carli Eubanks
    Level 15
    San Diego
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Resolved
    Missing variableI tried to model my code after the examples from the previous lesson, but clearly I did something wrong because on line 38 it's saying that it can't find variable three. Any advice on how to fix this would be a huge help and greatly appreciated.
    • 28.09.2020
    • 365views
    • 2comments
    0
  • Philip Butler
    Level 32
    United Kingdom
    Question about the task Factories (part 2)
    Java Collections, Level 5, Lesson 15
    Under discussion
    Weirdness - requirement #2 does not verifyStumped again - so seems fairly straigforward ro create a Factory and return the appropriate objects. Output from main method all looks good. So why does requirement #2 not verify? Help please. Thanks, Phil
    • 30.11.2019
    • 1404views
    • 4comments
    0
  • gabe
    Level 6
    Greenville
    Question about the task Three numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    why is this not workingi did steal this from someone else, but then I followed what they said in the comments and it worked, but it says I did it wrong
    • 23.09.2020
    • 509views
    • 3comments
    0
  • Шарох
    Level 12
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    what the hell is this?I'm confused.please help me.
    • 27.09.2020
    • 891views
    • 9comments
    0
  • Carli Eubanks
    Level 15
    San Diego
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Resolved
    Index out of boundsI'm getting an error that an index (maybe more than one) is out of bounds. I don't know how to fix it. Any advice you have is appreciated.
    • 28.09.2020
    • 459views
    • 2comments
    0
  • Fabian Andiel
    Level 25
    Vienna
    Question about the task Deep cloning of a map
    Java Multithreading, Level 1, Lesson 8
    Under discussion
    Why do I have to overwrite the clone method in the users as wellHi guys, and don`t have any problem with the task but logically I don`t understand why I have to clone the users as well? kind regards Fabian
    • 25.09.2020
    • 520views
    • 2comments
    0
  • jorge ives murillo paredes
    Level 40
    New York City
    Question about the task Archiver (part 16)
    Java Multithreading, Level 7, Lesson 15
    Resolved
    what is wrong throwing the exception?what is the problem throwing the exception?
    • 22.04.2020
    • 1474views
    • 5comments
    0
  • Seferi
    Level 22
    Question about the task CRUD
    Java Core, Level 7, Lesson 10
    Resolved
    Doesn't compileIt says that on line 33 , 35, 38 args[1] is not an int. I have to change it to string. But id argument given as int right? I tried it with, Integer.parseInt(args[1]), It compiles but fails the tests. Help is very much appreciated. Thanks.
    • 28.09.2020
    • 349views
    • 2comments
    2
  • Anitamalina
    Level 18
    København
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    error: variable min might not have been initialized return min;what do I do wrong? get the output: com/codegym/task/task02/task0216/Solution.java:24: error: variable min might not have been initialized return min;
    • 28.09.2020
    • 430views
    • 1comment
    0
  • The Chief
    Level 18
    Question about the task Deep and pure love
    Java Syntax, Level 3, Lesson 8
    Under discussion
    What is wrong with my code?It keeps on saying that it can't find a symbol on line 16. Does anyone know what the error is?
    • 27.09.2020
    • 537views
    • 2comments
    0
  • Chris
    Level 19
    Newark
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Resolved
    I have no clueCan someone please explain to me how to do this. Step by step so I can reverse engineer myself.
    • 26.09.2020
    • 500views
    • 1comment
    0
  • David Haines
    Level 13
    La Crosse
    Question about the task Catching a group of exceptions
    Java Syntax, Level 9, Lesson 8
    Resolved
    I don't understand the exercise - can somebody please explain what is currently happening and what needs to happen?I don't necessarily want the exact coding to solve this... What I would like is for somebody to please explain (in mono-syllable newb-speak, please) what the requirements are and what needs to happen to fix the problem. I have been googling 'java exceptions' for a couple days now trying to figure
    • 23.09.2020
    • 400views
    • 2comments
    0
  • sergio
    Level 7
    Colorado
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Resolved
    i dont know what i am doing wrongpackage com.codegym.task.task01.task0130; /* Our first converter! */ public class Solution { public static void main(String[] args) { System.out.println(convertCelsiusToFahrenheit(41)); } public static double convertCelsiusToFahrenheit(int celsius) { //write your cod
    • 23.09.2020
    • 890views
    • 3comments
    0
  • sergio
    Level 7
    Colorado
    Question about the task 18+
    Java Syntax, Level 4, Lesson 6
    Resolved
    what am I doing wrong? please help. I cant find my mistake
    • 25.09.2020
    • 699views
    • 4comments
    0
  • dhanush
    Level 30
    Chennai
    Question about the task Prices
    Java Core, Level 8, Lesson 11
    Resolved
    need helpIts not test passing the requirements from 3-6 and also i have tried with some inputs in the arguments but it's throwing a StringIndexOutOfBoundsException -c apple 20000 4 but its not working.
    • 25.09.2020
    • 530views
    • 8comments
    0
  • Tom ford
    Level 15
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    Code does exactly what is required. Not sure why it is not verified.Please help.
    • 26.09.2020
    • 436views
    • 2comments
    0
  • Kuba Miałkowski
    Level 23
    Brzesko
    Question about the task Prices 2
    Java Core, Level 8, Lesson 11
    Under discussion
    When the program is started with the arguments "-u id productName price quantity", the product information in the file should be updated.I think my solution is working, it's updating passed id on the same line but for some reason validation is not passing. Maybe there is something that i missed or don't understand. Every bit of help is appreciated :)
    • 29.07.2019
    • 1311views
    • 0comments
    1
  • Arturs Teihmanis
    Level 13
    Jurmala
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Resolved
    Be sure that the removeAllNumbersGreaterThan10 method works with sets of any size.Hi, can anybody can give me a hint/help. Trying to figure out my mistake. When trying only this block of code "two sets, iterate set,, set2.add, set.removeAll(set2)" works fine...
    • 19.09.2020
    • 604views
    • 6comments
    0
  • 1
  • ...
  • 130
  • 131
  • 132
  • 133
  • 134
  • ...
  • 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