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
  • Maria
    Level 7
    Berlin
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    Help please, dont understand, why is not workingI have been trying, but I dont get it. hope you can help me Grettings Maria
    • 09.12.2019
    • 1265views
    • 1comment
    0
  • chinchillo
    Level 6
    Question about the task You can't have too much of a good thing
    Java Syntax, Level 4, Lesson 10
    Under discussion
    The code seems okay to me :/Any idea whats wrong here?
    • 03.12.2019
    • 1550views
    • 2comments
    0
  • krystian
    Level 9
    Kozle
    Question about the task Chain letter
    Java Syntax, Level 4, Lesson 13
    Under discussion
    Can someone spot a mistake? public class Solution { public static void main(String[] args) throws Exception { Scan
    • 14.12.2019
    • 730views
    • 1comment
    0
  • Anusrilena
    Level 4
    Chennai
    Question about the task Don't think about seconds…
    Java Syntax, Level 3, Lesson 8
    Under discussion
    how to solve this?public class Solution { public static void main(String[] args) { int secondsAfter15 = 0; System.out.println(secondsAfter15);
    • 18.06.2019
    • 1318views
    • 3comments
    0
  • ira.iurciuc
    Level 10
    Chisinau
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Under discussion
    Can't pass the validationHelp me, please
    • 18.06.2019
    • 1128views
    • 3comments
    1
  • hidden #10559160
    Level 3
    Question about the task Hello, StarCraft!
    Java Syntax, Level 3, Lesson 4
    Under discussion
    is there any shortcut way? i want to less
    • 03.12.2019
    • 1240views
    • 3comments
    0
  • Somya Gupta
    Level 4
    Vrindavan
    Question about the task Hello, StarCraft!
    Java Syntax, Level 3, Lesson 4
    Under discussion
    wrong package com.codegym.task.task03.task0307; /* Hello, Starcraft! */ public class Solution { public static void main(String[] args) { //write your code here........ Zerg zerg1= new Zerg(); zerg1.name="z1"; Zerg zerg2= new Zerg(); zerg1.name="
    • 22.08.2018
    • 1704views
    • 3comments
    0
  • Ilia Kalugin
    Level 25
    Novara
    Question about the task HashSet of plants
    Java Syntax, Level 8, Lesson 3
    Under discussion
    Why order of elements is changing?Could samebody explain to me why?
    • 11.12.2019
    • 893views
    • 2comments
    0
  • Shawn
    Level 3
    Dallas
    Question about the task Parenthetical brainteaser
    Java Syntax, Level 3, Lesson 4
    Under discussion
    Is there a typo?I can rearrange the parentheses to get 372, but that puts me 10 off. 382 is not a prime number since it can be divided by 2 to get 191, but 191 appears to be a prime number. How can I figure out the solution? is 382 possibly a typo?
    • 13.12.2019
    • 1323views
    • 2comments
    0
  • Onassis DaGraca
    Level 8
    Pawtucket
    Question about the task Display numbers in reverse order
    Java Syntax, Level 7, Lesson 12
    Under discussion
    why will this not accept input i entered it exactly like it is in the lessonpublic class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ArrayList list = new ArrayList(); while (true) { String s = reader.read
    • 13.12.2019
    • 949views
    • 2comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Serializable Solution
    Java Core, Level 10, Lesson 7
    Under discussion
    I am very tired and delete the solutionNeed help, really
    • 30.06.2019
    • 1451views
    • 2comments
    0
  • Andres
    Level 4
    Reedley
    Question about the task Task with percentages
    Java Syntax, Level 3, Lesson 3
    Under discussion
    can someone tell me what I did wrongpackage com.codegym.task.task03.task0304;
    • 11.12.2019
    • 1001views
    • 2comments
    0
  • satya vath
    Level 9
    Mumbai
    Question about the task Flip the array
    Java Syntax, Level 7, Lesson 4
    Resolved
    Please help package com.codegym.task.task07.task0704; import java.io.BufferedReader; import java.io.InputStreamReader; /* Flip the array */ public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader buf = new BufferedReader(n
    • 21.11.2018
    • 1769views
    • 6comments
    1
  • Vaibhavi
    Level 5
    Vijayawada
    Question about the task Somehow average
    Java Syntax, Level 4, Lesson 16
    Under discussion
    please help with this codeplease help
    • 13.12.2019
    • 742views
    • 3comments
    0
  • Vaibhavi
    Level 5
    Vijayawada
    Question about the task Somehow average
    Java Syntax, Level 4, Lesson 16
    Under discussion
    please helpneed assistance
    • 13.12.2019
    • 702views
    • 2comments
    0
  • Vaibhavi
    Level 5
    Vijayawada
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Under discussion
    please helpI am unable to get through
    • 13.12.2019
    • 895views
    • 2comments
    0
  • yz
    Level 37
    Jakarta
    Question about the task Tetris (part 16)
    Java Collections, Level 2, Lesson 15
    Resolved
    boundarieshow to find boundaries ? Thanks
    • 12.12.2019
    • 979views
    • 2comments
    0
  • Vaibhavi
    Level 5
    Vijayawada
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Under discussion
    please help..!!Can anyone help to know where I am going wrong??
    • 11.12.2019
    • 957views
    • 4comments
    0
  • shaan mohd khan
    Level 13
    Jhansi
    Question about the task Task about algorithms
    Java Syntax, Level 9, Lesson 11
    Resolved
    My code is throwing null pointer exception error on the 18th line. not able to find a way to resolve it.Can anyone help package com.codegym.task.task09.task0930; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; /* Task about algorithms */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedRe
    • 12.12.2019
    • 2178views
    • 5comments
    0
  • 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
    • 09.10.2018
    • 3299views
    • 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?
    • 03.12.2019
    • 1716views
    • 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.2019
    • 1292views
    • 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
    • 10.12.2019
    • 1566views
    • 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 ^^
    • 28.11.2019
    • 1185views
    • 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
    • 03.12.2019
    • 1280views
    • 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)
    • 29.10.2019
    • 2330views
    • 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)...
    • 05.12.2019
    • 1292views
    • 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 {
    • 11.12.2019
    • 1024views
    • 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
    • 02.05.2019
    • 2204views
    • 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()); } }
    • 24.10.2019
    • 1844views
    • 3comments
    0
  • 1
  • ...
  • 246
  • 247
  • 248
  • 249
  • 250
  • ...
  • 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