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
  • Sindhura
    Level 15
    Delhi
    Question about the task What's today's date?
    Java Syntax, Level 9, Lesson 11
    Under discussion
    how to get comma in display- Aug 18 2013 output should be Aug 18,2013package com.codegym.task.task09.task0922; import java.io.BufferedReader; import java.io.InputStreamReader; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; /* What's today's date? */ public class Solution { public static void main(String[] args) throws Exc
    • 10/9/18
    • 3464views
    • 5comments
    0
  • Lelush
    Level 7
    Question about the task Create a Rectangle class
    Java Syntax, Level 5, Lesson 9
    Under discussion
    PLEASE HELP MEWhat is wrong with my code?
    • 12/3/19
    • 1877views
    • 8comments
    0
  • chinna gnanesh
    Level 9
    Chennai
    Question about the task Make a family
    Java Syntax, Level 8, Lesson 11
    Under discussion
    FourthReqNotMatchingFourth Requirement is not matching
    • 12/12/19
    • 1508views
    • 2comments
    0
  • Kris
    Level 9
    Englewood
    Question about the task In decreasing order
    Java Syntax, Level 7, Lesson 12
    Resolved
    The Code works, but does not satisfy the conditions. Wondering if there is a way to make this particular code work + satisfy the conditions.........Just looking for the shortest and fastest solution......package com.codegym.task.task07.task0728; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arrays; import java.util.Collections; /* In decreasing order */ public class Solution { public static void main(String[] args) throws Exception { BufferedReade
    • 12/10/19
    • 1695views
    • 9comments
    0
  • jonathan D
    Level 26
    Lille
    Question about the task Deep cloning of a map
    Java Multithreading, Level 1, Lesson 8
    Resolved
    Error in the equals method?Hello, I don't understand where is my error (The cloned object's users map should be equal (comparison using equals) to the users map of the cloned object.). With my own tests everything seems alright regarding to the deep copy and the return value of the equals method. Any help is welcome ^^
    • 11/28/19
    • 1302views
    • 2comments
    0
  • chinna gnanesh
    Level 9
    Chennai
    Question about the task Kind Emma and the summer holidays
    Java Syntax, Level 8, Lesson 8
    Resolved
    help meFourth req is failing help me
    • 12/3/19
    • 1424views
    • 10comments
    0
  • Ivan
    Level 22
    Nope
    Question about the task Make a family
    Java Syntax, Level 8, Lesson 11
    Resolved
    NullPointerException errorGuys, can you help me out? Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended Exception in thread "main" java.lang.NullPointerException at Lvevel8FinalTasks.MakeAFamily.MakeAFamily.main(MakeAFamily.java:15)
    • 10/29/19
    • 2522views
    • 3comments
    2
  • MecoS
    Level 16
    Question about the task Kind Emma and the summer holidays
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Please HelpI try to debug and insert sout on verifying month - 45 row - (it come in but did not remove)...
    • 12/5/19
    • 1398views
    • 2comments
    0
  • krystian
    Level 9
    Kozle
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Under discussion
    Drawing a rectangle Could you help why my code Does not work? public class Solution {
    • 12/11/19
    • 1133views
    • 1comment
    0
  • Connor
    Level 8
    Boston
    Question about the task Notepad for new ideas
    Java Syntax, Level 6, Lesson 11
    Resolved
    I'm a little unsure about what it's asking.When it says to make sure that the getDescription method doesn't return any null strings, I went to make a while loop that broke once there was an input such as this. public static class Idea{ public String getDescription() throws IOException { BufferedReader br = new BufferedRe
    • 5/2/19
    • 2351views
    • 4comments
    0
  • Зоран Јањић
    Level 8
    Teslic
    Question about the task Notepad for new ideas
    Java Syntax, Level 6, Lesson 11
    Resolved
    Can someone please explain me what's going on here. Totally lost. ty public class Solution { public static class Idea { public String a =" string"; public String getDescription(){ return a; } public static void printIdea(Idea idea){ System.out.println(idea.getDescription()); } }
    • 10/24/19
    • 1992views
    • 3comments
    0
  • Somya Gupta
    Level 4
    Vrindavan
    Question about the task Pets need people
    Java Syntax, Level 2, Lesson 5
    Resolved
    error package com.codegym.task.task02.task0213; /* Pets need people */ public class Solution { public static void main(String[] args) { //write your code here Cat cat=new Cat(); Dog dog=new Dog(); Fish fish=new Fish(); Woman woman=new Woman();
    • 8/20/18
    • 2763views
    • 10comments
    0
  • Jeremy Simons
    Level 7
    Peterborough, Cambridgeshire, UK
    Question about the task Streets and houses
    Java Syntax, Level 7, Lesson 4
    Archived
    Please helpMy code works why won't it verify? Thank you
    • 12/11/19
    • 1084views
    • 2comments
    0
  • Jeremy Simons
    Level 7
    Peterborough, Cambridgeshire, UK
    Question about the task Streets and houses
    Java Syntax, Level 7, Lesson 4
    Archived
    Please advise?The code seems correct and seems to fulfill the objectives?
    • 12/11/19
    • 1172views
    • 1comment
    0
  • Vaibhavi
    Level 5
    Vijayawada
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    Please help..!!Can anyone know what mistake I am doing
    • 12/10/19
    • 1135views
    • 3comments
    0
  • Shawn
    Level 3
    Dallas
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    I don't get this!Error given is: The min method must return the minimum of numbers a, b and c. Code: package com.codegym.task.task02.task0216;
    • 12/10/19
    • 1057views
    • 2comments
    0
  • Adam Maichrzik
    Level 22
    Katowice
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    Only one question - The min(a, b, c, d) method must use the min(a, b) method.Hi! Can somebody help me with this? I don't want the solution. If you can I just want from you to show me the right way of thinking so I can figure out this task by myself.
    • 12/8/19
    • 1777views
    • 9comments
    0
  • Boris the Llama
    Level 20
    Maidstone
    Question about the task Searching for the right lines
    Java Core, Level 9, Lesson 11
    Resolved
    Seems to work, but failsIt seems to pass the tests I do, but it wont verify. On the last condition it says "Consider the fact that the words list can have an arbitrary number of words". I've tried it with longer lines and it still seems to work, so unsure what it means?
    • 12/9/19
    • 1354views
    • 2comments
    0
  • Hendra
    Level 8
    Medan
    Question about the task Positive number
    Java Syntax, Level 4, Lesson 7
    Under discussion
    I can't find mistake in my code...what should I do?package com.codegym.task.task04.task0428;
    • 12/10/19
    • 1096views
    • 2comments
    0
  • علي حجار
    Level 18
    Bursa
    Question about the task Display today's date
    Java Syntax, Level 5, Lesson 12
    Under discussion
    My answer it is like correctscreen display current date 22 11 2018 but there are a problem
    • 11/22/18
    • 2278views
    • 4comments
    1
  • Seán de Roo
    Level 4
    Utrecht
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Under discussion
    What's wrong with my code? It seems to be working when i test it out int daysInNonLeapYear = 365; int daysInLeapYear = 366; if (year % 400 == 0) { System.out.println("Number of days in the year: " + daysInLeapYear + "."); } else if (year % 100 == 0) { System.out.println("Number of days in the year: " + daysInNonLeapYea
    • 12/10/19
    • 1085views
    • 1comment
    0
  • Niranjan Soni
    Level 15
    Bangalore
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 4
    Archived
    Not validated for case zero.What's wrong with my code. Not validated for case zero.
    • 9/23/18
    • 1992views
    • 8comments
    0
  • Vaibhavi
    Level 5
    Vijayawada
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    please helpPlease help me in knowing where I am going wrong
    • 12/10/19
    • 1041views
    • 1comment
    0
  • Erfan Alam
    Level 2
    Rangpur
    Question about the task Where does a Person come from?
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Method and objectIsn't it confusing, because it looks like a method, And who teach me to creat an object under a class, CodeGym getting confusing for me. Tasks are coming with no pre exercises!!
    • 11/21/19
    • 1140views
    • 3comments
    1
  • ProgrammerNewbie
    Level 14
    Question about the task Method in a try-catch
    Java Syntax, Level 9, Lesson 11
    Resolved
    throws IOExceptionHi, My code works fine while running. Unfortunately it fails the third condition. I know it is because of "throws IOException". However, when I had left that out, my code did not compile due to an unhandled IOException. Best regards
    • 7/24/19
    • 4496views
    • 3comments
    0
  • Shawn
    Level 3
    Dallas
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Still can't figure this out.Can someone help me find my errors? Code: package com.codegym.task.task02.task0204;
    • 12/10/19
    • 1092views
    • 1comment
    0
  • Tian Pro
    Level 23
    Cape Town
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Sorry I can't figure this out >.<I'm still very much a beginner at this stuff, I might not be learning as fast as I should be. But I'm stuck on this one and kinda need help. Not sure how much of this code is wrong, perhaps all of it is, haha. Just let me know please :D
    • 11/28/19
    • 1254views
    • 3comments
    0
  • MecoS
    Level 16
    Question about the task Census
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Map did nit have 2 equals key... For me the methods are ok but i didn't understand why the error?
    • 12/5/19
    • 1000views
    • 2comments
    0
  • Adam S
    Level 22
    Gliwice
    Question about the task Adding
    Java Syntax, Level 4, Lesson 16
    Resolved
    not sure how to include -1 in the sum.Cany anyone give a hint?
    • 12/8/19
    • 1274views
    • 2comments
    0
  • hidden #10559307
    Level 8
    Question about the task Shuffled just in time
    Java Syntax, Level 7, Lesson 12
    Resolved
    Can you please check what is wrong with my code?the output matches the required result but not accepted.
    • 12/9/19
    • 1056views
    • 2comments
    0
  • 1
  • ...
  • 249
  • 250
  • 251
  • 252
  • 253
  • ...
  • 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