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
  • Jegadish chandran
    Level 3
    Mumbai
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Under discussion
    how to solve this ..i dont know
    • 6/25/19
    • 1349views
    • 3comments
    0
  • polbatona
    Level 17
    Omsk
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Archived
    The message output works correctly, but the code does not pass the check.Tell me, please, why do not pass the test?
    • 6/25/19
    • 1558views
    • 2comments
    0
  • dD
    Level 17
    Novi Sad
    Question about the task Consecutive threads
    Java Core, Level 6, Lesson 13
    Under discussion
    Little help pleaseThe first thread shows proper result, but it seems to run infinitely after that, i cant really get where is the mistake in the code, tried to put currentThread.join() method in other places but its not helping.
    • 3/7/19
    • 1875views
    • 3comments
    0
  • Louis
    Level 17
    New York
    Question about the task Animal set
    Java Syntax, Level 8, Lesson 11
    Resolved
    When I run my code in Eclipse it works fine, but when I try to verify the task, it fails on printPets. Anyone have this issue?The printPets() method should display all the animals in the set pets. Each animal should be on a new line.
    • 4/14/19
    • 1861views
    • 3comments
    0
  • ddi
    Level 18
    Dortmund
    Question about the task Cat code won't compile
    Java Syntax, Level 7, Lesson 12
    Resolved
    Do i need a second cat? Where should i put it?I am failing to see where should i put the second cat. Help pls :)
    • 6/25/19
    • 1493views
    • 4comments
    0
  • JGO
    Level 4
    San Jose
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Resolved
    typo helpcannot find the typo
    • 1/9/19
    • 1694views
    • 2comments
    0
  • hidden #10426395
    Level 2
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Resolved
    Hope for your help guysHey guys, I don't understand the task and hope for your help. Perhaps anybody can pay attention and explain this to me?
    • 2/14/19
    • 2362views
    • 4comments
    0
  • Marcin
    Level 8
    Warsaw
    Under discussion
    Object type nameHow to determine which object type name will be good? For example we often see that construction: Object object = new Object(); or i.e. BufferReader bufferReader = new BufferReader(); - why the type name is BufferReader but no BffReadr for example? Does the type name matter in real life?
    • 6/16/19
    • 1285views
    • 1comment
    0
  • Online Learner
    Level 6
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Resolved
    i also showed 4 lines but getting an error
    • 6/20/19
    • 1197views
    • 4comments
    0
  • Nishant Bhatia
    Level 13
    Navi Mumbai
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Resolved
    What is the problem here?
    • 6/12/19
    • 1445views
    • 2comments
    0
  • Supriya Mishra
    Level 10
    Bangalore
    Question about the task Name register
    Java Syntax, Level 4, Lesson 2
    Resolved
    Not able to pass 5th test case public class Cat { private String fullName; public String setName(String firstName, String lastName) { String fullName = firstName + " " + lastName; //write your code here this.fullName = fullName; return this.fullName; } public static void ma
    • 3/18/19
    • 2719views
    • 10comments
    1
  • asthatiwari
    Level 13
    Baikunthpur
    Resolved
    why is the function removeAllNumbersGreaterThan10() not working?package com.codegym.task.task08.task0814; import java.util.HashSet; import java.util.Set; import java.util.Iterator; /* Greater than 10? You're not a good fit for us */ public class Solution { public static HashSet createSet() { // write your code here HashSet set=new HashS
    • 6/24/19
    • 1152views
    • 2comments
    0
  • Róbert Miklósi
    Level 15
    Budapest
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Resolved
    I don't understand. I checked the result in the main routine and it's looks good.What is the problem?
    • 6/8/19
    • 1482views
    • 2comments
    0
  • khushbu Nirmal
    Level 7
    Mumbai
    Question about the task Console-based piggy bank
    Java Syntax, Level 5, Lesson 12
    Under discussion
    whats problem in my codehelp
    • 11/18/18
    • 1427views
    • 2comments
    0
  • ddi
    Level 18
    Dortmund
    Question about the task Console-based piggy bank
    Java Syntax, Level 5, Lesson 12
    Under discussion
    What am i missing? :)I have run all the answers in Help but still not seing the answer... Maybe some help pls! :)
    • 6/5/19
    • 1510views
    • 3comments
    1
  • William Hoang
    Level 10
    Hanoi
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Resolved
    What Am I Wrong I still don't know where my problem is :(
    • 6/23/19
    • 1383views
    • 2comments
    0
  • Ku Yew Siang
    Level 30
    Sekudai
    Question about the task Introducing tags
    Java Core, Level 9, Lesson 11
    Resolved
    I am pretty sure i gotten all through. Been thinking for the past week. Please help me find me errors.Help help
    • 5/19/19
    • 2082views
    • 2comments
    0
  • ddi
    Level 18
    Dortmund
    Question about the task Min and max in arrays
    Java Syntax, Level 7, Lesson 12
    Resolved
    Having problems with the System.out.println Second exercise that i am lost on how to apply the System.out.println Can someone help me?!
    • 6/24/19
    • 1778views
    • 2comments
    0
  • smaranika sahu
    Level 5
    Pune
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Resolved
    Why my solution is failing in line no-3?Any idea or suggestion
    • 6/24/19
    • 1390views
    • 3comments
    0
  • RUSTEM
    Level 6
    Kazan
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Please help understand the logic of the errorPlease help understand the logic of the error. Why when entering 24.5 gives red and when entering 24.6 is also red, although the remainder is 1 (
    • 5/26/19
    • 1280views
    • 2comments
    0
  • Online Learner
    Level 6
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    can anyone one help me on this taski did't get what's i did wrong with this code...
    • 6/23/19
    • 1687views
    • 6comments
    0
  • Harinath Reddy A
    Level 7
    Delhi
    Question about the task Labels and numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    HelpI am getting wats wrong in this code. please help!!!
    • 2/20/19
    • 2439views
    • 12comments
    0
  • Kritika Kumari
    Level 11
    Mumbai
    Question about the task Minimum of two numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    in the solution code when I mentioned (a=m2 ; and b= m2;in the place of m2=a; or m2=b; ) then why it shown me error . public static int min(int a,int b) int m2; if (a
    • 6/20/19
    • 1527views
    • 2comments
    0
  • Andrew
    Level 29
    Seattle
    Question about the task Archiver (part 10)
    Java Multithreading, Level 7, Lesson 15
    Resolved
    Not sure where I'm going wrongZipFileManager class. Help please!
    • 6/23/19
    • 1569views
    • 2comments
    0
  • Usman Jutt
    Level 4
    Pir Mahal
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Under discussion
    plzzhelp me
    • 9/29/18
    • 1699views
    • 9comments
    0
  • jim smith
    Level 22
    Cedar Park
    Question about the task Prices
    Java Core, Level 8, Lesson 11
    Resolved
    My best shot came up shortI think I met all the requirements but obviously am misinterpreting something. Tried debugging with cmd line input of single space between arguments and the 8 30 8 4 format and both add a line to the file that looks ok to me but the verification is none to happy.
    • 2/1/19
    • 1864views
    • 3comments
    0
  • Ymje Sköld
    Level 4
    Bjorko
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Resolved
    WHy won't my code work?Isn't it true that all years that are leap years are divided by 4? In which case I do not need to check if it is also divisible by 400, nor do I need to find out if it is divisible by 100. A simple if-else should suffice. It's not passing, even though I've been checking with various numbers, both la
    • 5/30/19
    • 2397views
    • 4comments
    0
  • Dona
    Level 7
    Question about the task Calling a constructor from a constructor
    Java Syntax, Level 5, Lesson 9
    Under discussion
    I can't figure it out anyone help me with this....it shows error
    • 6/14/19
    • 1190views
    • 2comments
    0
  • smile
    Level 7
    Tainan
    Question about the task Calling a constructor from a constructor
    Java Syntax, Level 5, Lesson 9
    Resolved
    Why can't I call a constructor by creating a new object in a constructor?I run the code. The results are: 5.0 5.0 1.0 10.0 5.0 10.0 It did make the radius to 10.0, but it still failed. Why? What's the difference between "this" and an object? What is "the correct arguments" exactly?
    • 6/16/19
    • 2165views
    • 3comments
    0
  • AK
    Level 6
    Mumbai
    Question about the task Calling a constructor from a constructor
    Java Syntax, Level 5, Lesson 9
    Under discussion
    Please help.public class Circle { public double x; public double y; public double radius; public Circle(double x, double y, double radius) { this.x = x; this.y = y; this.radius = radius; } public Circle(double x, double y) { //write your code here
    • 4/10/19
    • 2420views
    • 4comments
    0
  • 1
  • ...
  • 308
  • 309
  • 310
  • 311
  • 312
  • ...
  • 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