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
  • narcissus
    Level 5
    .
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Under discussion
    where is the mistake?please tell me where should be changed
    • 7/29/20
    • 705views
    • 9comments
    0
  • Connor Carey
    Level 4
    Houston
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    M not initialized errorI get an error that is telling me that m isn't initialized? I thought this worked with the two integer minimum how come not with this one?
    • 8/2/20
    • 497views
    • 3comments
    0
  • Brad Reed
    Level 19
    Hartford
    Question about the task Currencies
    Java Core, Level 4, Lesson 8
    Resolved
    I think I need another set of eyes on this. So everything but the getCurrencyName() task verifies. I cant find my error, I know its there but I think i've been looking at it too long...
    • 7/22/20
    • 649views
    • 2comments
    1
  • Xavier
    Level 17
    Pearland
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Resolved
    I can't figure out how to make it work for negative numbers.I've spent a while trying to figure this out. It doesn't work if all the numbers entered are negative. The reason is because b is initialized to zero, so if all the numbers are negative, b is never less than a. I've tried different things but none of them have worked. I tried setting b equal to null
    • 7/31/20
    • 607views
    • 6comments
    0
  • Geethika medidi
    Level 18
    Hyderabad
    Question about the task User, loser, coder and programmer
    Java Core, Level 4, Lesson 8
    Resolved
    Can anyone see what is wrong?I am getting the correct output. But, it is not verifying Thanks in advance.
    • 7/17/19
    • 1570views
    • 6comments
    1
  • Michael Brimage
    Level 19
    Washington D.C.
    Question about the task Chicken factory
    Java Core, Level 4, Lesson 6
    Resolved
    Another "Shows no output"I am working this in the code editor. It shows no output. I cant determine where my error is. I will try to use IntelliJ when I get home. However, if you know or can tell what did wrong please inform. Mike
    • 5/1/20
    • 1017views
    • 2comments
    1
  • Teemu-Petteri Remes
    Level 16
    Oulu
    Question about the task Cats
    Java Core, Level 4, Lesson 4
    Resolved
    Why wont third requirement work?It does print: I'm a cat powerhouse named Big Boy I'm a cute kitty named Missy I'm a cute kitty named Smudgey I'm Pirate, an alley cat Which I presume is the correct output...… ._.
    • 10/9/19
    • 2133views
    • 9comments
    1
  • sagar
    Level 6
    Amreli
    Question about the task Calculator
    Java Syntax, Level 6, Lesson 8
    Under discussion
    help...what's wrong in this...
    • 7/28/20
    • 677views
    • 4comments
    0
  • Rad
    Level 8
    Maidstone
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Resolved
    i need help to solve this problemI am struggling last 1 hour, please help me
    • 10/11/18
    • 3796views
    • 6comments
    0
  • Margareta
    Level 13
    Dubrovnik
    Question about the task In decreasing order
    Java Syntax, Level 7, Lesson 12
    Resolved
    Last condition isn't passingIs it a problem that the sort method also prints out the array? Because I can't find any other way if the method is void.
    • 7/31/20
    • 876views
    • 4comments
    0
  • Luke Colabella
    Level 8
    Vancouver
    Question about the task Remove and insert
    Java Syntax, Level 7, Lesson 6
    Under discussion
    What is wrong with my code???Looking at it, it seems fine but the output is all weird. I don't understand what I did wrong.
    • 7/31/20
    • 472views
    • 2comments
    0
  • HaeWon Chung
    Level 17
    Boston
    Question about the task CRUD
    Java Core, Level 7, Lesson 10
    Under discussion
    still not passing third requirementIt does display the ID. What's wrong with my code?
    • 7/11/20
    • 638views
    • 4comments
    0
  • Adam
    Level 17
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Resolved
    Either 3 of positive or negative numbers public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int a = Integer.parseInt(reader.readLine()); int b = Integer.parseInt(reader.readLine()); int c = Inte
    • 7/31/20
    • 919views
    • 4comments
    0
  • Vidya Pb
    Level 5
    Ernakulam
    Question about the task Red scare
    Java Syntax, Level 3, Lesson 4
    Under discussion
    What is the point?Hello everyone. We have practiced a lot of such simple codes and these kind of questions are repeating a lot. Can anyone here enlighten me what's the purpose of repeatedly giving tasks which are so simple at this level? Or am I being rude in asking this question?
    • 10/27/19
    • 1296views
    • 6comments
    0
  • Somya Gupta
    Level 4
    Vrindavan
    Question about the task Red scare
    Java Syntax, Level 3, Lesson 4
    Resolved
    i dont undrstand how to code package com.codegym.task.task03.task0305; /* Red scare */ public class Solution { public static void main(String[] args) { //write your code here System.out.print(" "+month); System.out.print(" "+day); System.out.print(" "+year); System.out.println(month.toUp
    • 8/21/18
    • 2093views
    • 3comments
    0
  • Mayu
    Level 25
    Toronto
    Question about the task Prices 2
    Java Core, Level 8, Lesson 11
    Under discussion
    Validator says updated data should be on the same line, but I see no problemHi I don't understand where the problem is. When I update the data, the new data is on the same line in the file as before.
    • 7/29/20
    • 494views
    • 2comments
    0
  • Sanjay Chauhan
    Level 28
    Delhi
    Question about the task MVC (part 4)
    Java Multithreading, Level 4, Lesson 14
    Resolved
    failed to meet last two requirement.Dears, Will it be possible to check what I am doing wrong? Thanks, Sanjay
    • 4/14/20
    • 1383views
    • 2comments
    0
  • Maxine Hammett
    Level 19
    San Diego
    Question about the task Food
    Java Core, Level 4, Lesson 4
    Under discussion
    Outputs correct answer but doesn't pass task verificationI'm completely lost here. Your help is appreciated.
    • 7/31/20
    • 711views
    • 7comments
    0
  • Laura
    Level 7
    Lübeck
    Question about the task Display right away
    Java Syntax, Level 3, Lesson 3
    Under discussion
    HelpI don't know what to do, can anybody help me how to solve this exercise?
    • 7/31/20
    • 581views
    • 3comments
    0
  • AlfredW
    Level 23
    Denver
    Question about the task Four mistakes
    Java Core, Level 3, Lesson 2
    Under discussion
    The conditions say "Do not change interface declarations.". And yet you do actually have to make a change to the declaration of the Dream interface. "private static Hobby HOBBY = new Hobby();" cannot be private.The conditions say "Do not change interface declarations.". And yet you do actually have to make a change to the declaration of the Dream interface. "private static Hobby HOBBY = new Hobby();" cannot be private.
    • 7/31/20
    • 664views
    • 2comments
    0
  • FormulaEagle
    Level 6
    Rockville
    Question about the task Display right away
    Java Syntax, Level 3, Lesson 3
    Resolved
    HELP PLEASE!Help i don't understand this!
    • 7/9/20
    • 792views
    • 3comments
    0
  • Павел Артеменко
    Level 41
    Krasnodar
    Question about the task Restaurant (part 10)
    Java Multithreading, Level 9, Lesson 15
    Under discussion
    What am I missing?Tested on various random lists - all results as per conditions, but failed to verify,
    • 5/27/19
    • 1619views
    • 3comments
    0
  • Learner
    Level 16
    Question about the task Reading a file
    Java Core, Level 3, Lesson 11
    Archived
    The program displays too many lines.I tried different methods like: InputStream inStream = new FileInputStream(fileName); while (inStream.available() > 0) { System.out.println(inStream.read()); } inStream.close(); However, this too gave the same message as stated in the subject. I even tried adding checking for new line and pri
    • 9/28/18
    • 3084views
    • 6comments
    1
  • Shadow
    Level 7
    Hogsmead
    Question about the task Escaping characters
    Java Syntax, Level 3, Lesson 6
    Under discussion
    What have I done wrong?help........
    • 7/31/20
    • 538views
    • 1comment
    0
  • Margareta
    Level 13
    Dubrovnik
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Under discussion
    Third condition isn't passingI don't think there's a problem with spaces :/
    • 7/29/20
    • 741views
    • 2comments
    0
  • Mikayla Pace
    Level 27
    Salt Lake City
    Question about the task Deep cloning of a map
    Java Multithreading, Level 1, Lesson 8
    Resolved
    Confused on what to cloneNot sure why it is telling me to create a new object and not to return the current one, haven't I done that here?
    • 1/16/20
    • 1317views
    • 2comments
    0
  • Etienne Bélanger
    Level 34
    Longueuil
    Question about the task ReentrantReadWriteLock
    Java Multithreading, Level 8, Lesson 10
    Under discussion
    Initialisation seems fine to me, can't figure out why the compiler doesn't like that.I tried at the initialization and also tried in the constructor without success public ReadWriteMap(LinkedHashMap map) { this.map = map; readLock = lock.readLock(); writeLock = lock.writeLock(); }
    • 4/20/20
    • 1211views
    • 2comments
    0
  • Kamal Khastagir
    Level 11
    kolkata
    Question about the task Min and max in arrays
    Java Syntax, Level 7, Lesson 12
    Under discussion
    please someone tell me what's wrong with my codei can't figure out why it doesn't fulfill the third condition :/
    • 7/29/20
    • 678views
    • 2comments
    0
  • Niladri pradhan
    Level 33
    Mumbai
    Question about the task 2048 (part 12)
    Java Multithreading, Level 10, Lesson 15
    Under discussion
    whats wronghelp please
    • 1/26/20
    • 970views
    • 1comment
    0
  • Brad Reed
    Level 19
    Hartford
    Question about the task Following a pattern
    Java Core, Level 6, Lesson 13
    Resolved
    100% thought I had this...So close....I get the proper output, but I have not fixed the runttime (apparently). I did fix the infinite loop I had it in (oops). I have the countupIndex at 6 because It stops displaying at 4 if I set it to 5. I have a feeling that this is the line that I may have messed up but I'm not seeing the
    • 7/30/20
    • 478views
    • 1comment
    0
  • 1
  • ...
  • 160
  • 161
  • 162
  • 163
  • 164
  • ...
  • 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