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
  • 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
    • 24.06.2019
    • 1035views
    • 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?
    • 08.06.2019
    • 1319views
    • 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
    • 18.11.2018
    • 1296views
    • 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! :)
    • 05.06.2019
    • 1363views
    • 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 :(
    • 23.06.2019
    • 1255views
    • 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
    • 19.05.2019
    • 1920views
    • 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?!
    • 24.06.2019
    • 1621views
    • 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
    • 24.06.2019
    • 1277views
    • 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 (
    • 26.05.2019
    • 1142views
    • 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...
    • 23.06.2019
    • 1553views
    • 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!!!
    • 20.02.2019
    • 2245views
    • 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
    • 20.06.2019
    • 1386views
    • 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!
    • 23.06.2019
    • 1403views
    • 2comments
    0
  • Usman Jutt
    Level 4
    Pir Mahal
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Under discussion
    plzzhelp me
    • 29.09.2018
    • 1567views
    • 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.
    • 01.02.2019
    • 1691views
    • 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
    • 30.05.2019
    • 2223views
    • 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
    • 14.06.2019
    • 1068views
    • 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?
    • 16.06.2019
    • 1964views
    • 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
    • 10.04.2019
    • 2265views
    • 4comments
    0
  • romeo
    Level 5
    Paramaribo
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Under discussion
    My code continues to display a & a (11 &14) instead of a & b (11 & 7)Please help me understand why this is happening. :S
    • 28.05.2019
    • 1684views
    • 7comments
    0
  • Online Learner
    Level 6
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    can anyone help me this out
    • 21.06.2019
    • 1334views
    • 2comments
    0
  • Joy Majumdar
    Level 16
    Kolkata
    Question about the task Big salary
    Java Syntax, Level 10, Lesson 11
    Resolved
    Should I use sub string method to do it ? Please friend's can you guide me
    • 28.05.2019
    • 1990views
    • 5comments
    1
  • Dedcom
    Level 19
    Lahore
    Question about the task GCD
    Java Core, Level 4, Lesson 8
    Resolved
    im so frustratedcant figure out why requirement 2 isnt passing when program is working fine
    • 04.02.2019
    • 1680views
    • 7comments
    0
  • iHappy Violence
    Level 7
    Saint Petersburg
    Question about the task You can't have too much of a good thing
    Java Syntax, Level 4, Lesson 10
    Archived
    Help mei not understand, why problem
    • 22.06.2019
    • 1166views
    • 1comment
    0
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task Reinforce the singleton pattern
    Java Core, Level 5, Lesson 12
    Under discussion
    HelpPlease Help
    • 16.06.2019
    • 1186views
    • 4comments
    0
  • ProgrammerNewbie
    Level 14
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Resolved
    Code does not work.Hi, Somehow this does not work (e.g. produce the output) as it should work. Nevertheless, I cannot find my mistake.
    • 12.06.2019
    • 1466views
    • 3comments
    1
  • Basharah Batool
    Level 5
    Question about the task Cats in the Universe
    Java Syntax, Level 4, Lesson 2
    Under discussion
    Whats wrong in my program?Below is my code. Its running fine and giving correct output but CodeGym is not verifying it. Why??
    • 19.05.2019
    • 1495views
    • 5comments
    0
  • Arko Sarkar
    Level 8
    Mumbai
    Question about the task Static cats
    Java Syntax, Level 6, Lesson 11
    Archived
    How to use ArrayList?I don't think ArrayList was taught before, how to use it and solve this problem?
    • 30.08.2018
    • 2107views
    • 3comments
    0
  • yash vadyakar
    Level 2
    Question about the task Even to the moon!
    Java Syntax, Level 2, Lesson 8
    Resolved
    what is this task all about.. can't figure it out. Its says convert earth weight in newton and than into lunar weight.. Please help!! package com.codegym.task.task01.task0136; /* Even to the moon! */ public class Solution { public static void main(String[] args) { System.out.println(getWeight(888)); } public static double getWeight(int weightEarth) { //write your code here
    • 14.08.2018
    • 2956views
    • 5comments
    0
  • harshshah
    Level 9
    Gandhinagar
    Question about the task Do we have a pair?
    Java Syntax, Level 4, Lesson 4
    Under discussion
    having 1 errorif no number match than don't display anything.
    • 05.06.2019
    • 1283views
    • 4comments
    0
  • 1
  • ...
  • 306
  • 307
  • 308
  • 309
  • 310
  • ...
  • 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