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
  • Aleksander
    Level 6
    Slupsk
    Question about the task Positive number
    Java Syntax, Level 4, Lesson 7
    Under discussion
    please help supercodersNote that 0 is not a positive or negative number. Does anyone have any ideas?
    • 17.04.2020
    • 934views
    • 2comments
    0
  • Rismitha Ismail
    Level 2
    Mumbai
    Question about the task Where does a Person come from?
    Java Syntax, Level 2, Lesson 2
    Resolved
    This is my code. what is wrong with this?? public static void main(String[] args) {
    • 23.03.2020
    • 1196views
    • 4comments
    0
  • Eelke 't Hooft
    Level 27
    Amsterdam
    Question about the task Minesweeper (Part 14/16)
    Games, Level 0, Lesson 0
    Resolved
    Not Validating, not sure whyI think i implemented the score correctly, a won game always ends up around 370~390 (405-5per mine). i have tried to put setScore(score+=5) but it didnt like that either. i have also tried to call setScore(score) at the end of openTile(); didnt count that; I am kind of out of ideas, does anyone ha
    • 19.03.2020
    • 988views
    • 1comment
    0
  • jake taylor
    Level 17
    Lisbon
    Question about the task Seasons on Terra
    Java Syntax, Level 4, Lesson 4
    Under discussion
    can anyone help??seems i cannot complete the last task
    • 16.04.2020
    • 840views
    • 1comment
    0
  • Paula Jones-Spangenberg
    Level 6
    North Chesterfield
    Question about the task Positive number
    Java Syntax, Level 4, Lesson 7
    Under discussion
    Fails the 3rd and 5th conditionUgh asking for help is becoming WAY to regular of a thing.... **sigh**
    • 16.04.2020
    • 672views
    • 1comment
    0
  • Wei Cui
    Level 39
    Newark
    Question about the task Build a tree (part 5)
    Java Collections, Level 1, Lesson 15
    Resolved
    Output is correct, cant meet 1st and 2nd requestI don't understand what first two requirement meaning here, could anyone help me to understand, since those two did not mention in the condition
    • 16.04.2020
    • 913views
    • 1comment
    0
  • MLA
    Level 16
    Philadelphia
    Question about the task In decreasing order
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Running into IndexOutOf Bounds Error, can anyone spot it?The error: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.rangeCheck(ArrayList.java:657) at java.util.ArrayList.get(ArrayList.java:433) at com.codegym.task.task07.task0728.Solution.sort(Solution.java:41) at com.codegym.task.task07.task0728.Solution.main(Solution.j
    • 16.04.2020
    • 925views
    • 1comment
    0
  • Prahlad Singh
    Level 6
    Mumbai
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    helphelp me
    • 15.09.2018
    • 3005views
    • 5comments
    0
  • Paula Jones-Spangenberg
    Level 6
    North Chesterfield
    Question about the task Do we have a pair?
    Java Syntax, Level 4, Lesson 4
    Resolved
    At wits end trying to get all three to display if all three equalGot it to pass everything except the guidelines where if three equal numbers were presented, they all had to be displayed.
    • 12.04.2020
    • 874views
    • 3comments
    0
  • Arvind Prakhar
    Level 7
    Dhanbad
    Question about the task Constructor
    Java Syntax, Level 5, Lesson 9
    Resolved
    Help!!!!I have tried a lot .....plzzz help ,i m not able to debug.
    • 09.11.2018
    • 2770views
    • 10comments
    1
  • Benas Ribačenka
    Level 4
    Joniskis
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Resolved
    why i can't use return in there?if I don't include return its working fine , but my question is why i can't use return ? it is because return is used to return just a value of varriable and , cant't return System.out.println . or its something else?
    • 15.04.2020
    • 796views
    • 1comment
    0
  • Prateek Parmar
    Level 4
    Chennai
    Question about the task Maximum of four numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    How is this not able to pass all the cases?I even entered the numbers and checked if there are several maximum numbers but it's still not able to pass
    • 05.09.2018
    • 2157views
    • 6comments
    0
  • Anjali Sharma
    Level 6
    Chennai
    Question about the task Minimum of two numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    wrong compilerwhat's wrong in this ?
    • 03.10.2018
    • 1905views
    • 5comments
    0
  • Franek
    Level 29
    Torun
    Question about the task Space (part 8)
    Java Collections, Level 3, Lesson 15
    Under discussion
    Help.
    • 06.07.2019
    • 1228views
    • 1comment
    2
  • Darko Jakimovski
    Level 18
    Kriva Palanka
    Question about the task Minimum of two numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    I really don't get what's wrong :Upon verification it says that "The program should display the minimum of two integers." It couldn't be much simpler package com.codegym.task.task04.task0418; /* Minimum of two numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception {
    • 11.12.2018
    • 2202views
    • 4comments
    1
  • Ntuthuko Xaba
    Level 18
    Johannesburg
    Question about the task Factorial
    Java Core, Level 5, Lesson 12
    Resolved
    I've gone through the help section , and could'nt find any answers.Will somebody please tell me what is wrong with this code.
    • 14.04.2020
    • 939views
    • 2comments
    1
  • yz
    Level 37
    Jakarta
    Question about the task Factories (part 1)
    Java Collections, Level 5, Lesson 15
    Resolved
    wtf is it bug????after trying to solve so difficult one am i going crazy or it is a bug
    • 11.04.2020
    • 988views
    • 3comments
    0
  • Michał Kwaśny
    Level 22
    Krakow
    Question about the task Adapting multiple interfaces
    Java Core, Level 9, Lesson 3
    Under discussion
    Correct output format but still it is verifying as an incorrect number.Probably veryfication is looking for some function to be used not correct result.
    • 20.09.2019
    • 1157views
    • 2comments
    0
  • Kamil
    Level 31
    Near Warsaw
    Question about the task What is ClassLoader?
    Java Collections, Level 5, Lesson 10
    Under discussion
    Exception NoClassDefFoundErrorI get java.lang.NoClassDefFoundError: com/codegym/task/task35/task3507/data/Cat (wrong name: Cat) expection when I try to run it, no idea what's wrong. I looked at directory, everything seems fine.
    • 15.04.2020
    • 825views
    • 2comments
    2
  • Harrison Tran
    Level 14
    Anaheim
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Under discussion
    createSet() not pass because I used Math.random() to generate 20 random numberI tested the code, it showed correct output but when verified, it does not pass the createSet() method condition. I suspect it because Math.random() generate some same number in the list of 20 number like: 10 20 23 46 34 10....89. Here I can have 2 number "10", not satify, 20 different numbers Anyo
    • 12.04.2020
    • 1085views
    • 3comments
    0
  • lonelygleaner
    Level 1
    New York
    Question about the task ApplicationContext
    Java Core, Level 7, Lesson 10
    Under discussion
    How does getByName() modify shared resources?I do not understand why we need to put synchronized before getByName() since it is just reading from the map instead of modifying it.
    • 08.08.2019
    • 1697views
    • 3comments
    2
  • Ashutosh Deshpande
    Level 5
    Nagpur
    Question about the task Maximum of four numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    What's Wrong here ?The Task requirement is to display the maximum number. Other task conditions are satisfied, just the third one is not...why? What's wrong in the code...can anyone explain ??
    • 15.04.2020
    • 961views
    • 2comments
    0
  • M suleman
    Level 20
    Lahore
    Question about the task Shared list
    Java Core, Level 7, Lesson 10
    Resolved
    plz help.i can't understand this question package com.codegym.task.task17.task1713; import java.util.*; /* Shared list */ public class Solution implements List<Long>{ private ArrayList<Long> original = new ArrayList<>(); public static void main(String[] args) { } public synchronized ArrayList<Lon
    • 10.11.2018
    • 1896views
    • 4comments
    0
  • Cinthya Cabanzo
    Level 22
    Bogota
    Question about the task Building and School
    Java Core, Level 4, Lesson 4
    Resolved
    why the test didn't achieve the verification I don't understand why If I return a new School, and the program runs, why the test didn't achieve the verification
    • 10.06.2019
    • 1293views
    • 3comments
    0
  • Jonas
    Level 41
    Vilnius
    Question about the task Adding logging to a class
    Java Collections, Level 4, Lesson 10
    Resolved
    Can you explain what am I doing wrong?I don't get this task, please help
    • 23.03.2020
    • 1108views
    • 5comments
    0
  • padam singh
    Level 2
    San Bernardino, ca
    Under discussion
    Insufficient dark matterswhen starting on level2 lesson 9/11 I got Message :----- Insufficient Dark Matters Anybody can help ? help help help help, unable to proceed
    • 16.04.2020
    • 905views
    • 1comment
    0
  • Jason
    Level 26
    Rancho Cucamonga
    Question about the task Time in the garden
    Java Core, Level 7, Lesson 4
    Resolved
    How does this make any sense...Literally everything is public and everything should be right and everything is synced. CodeGym drives up the effing wall sometimes. It is such shit at explaining anything clearly especially the requirements for their tasks. I always feel like I am being asked to do things by a two year old that doe
    • 28.09.2019
    • 1440views
    • 5comments
    0
  • Jeremi Nuer
    Level 7
    San Francisco
    Question about the task Dividing is good
    Java Syntax, Level 3, Lesson 1
    Resolved
    Please help I'm confusedI've looked at other people's problems and solutions, and most of them say to print a/b once and it will work, but it doesn't for me. What am I doing wrong?
    • 15.04.2020
    • 1092views
    • 1comment
    0
  • Philip Butler
    Level 32
    United Kingdom
    Question about the task AmigoSet (part 4)
    Java Collections, Level 4, Lesson 15
    Resolved
    Stuck on requirement #2Help please. I'm stuck with implementing the clone() method. I can get either the clone or the exception requirements to verify, but not both. I was unsure whether I needed to use super.clone(). Thanks in advance.
    • 27.11.2019
    • 1527views
    • 8comments
    1
  • Benjamin Winchester
    Level 17
    Savannah
    Question about the task File in a static block
    Java Core, Level 5, Lesson 12
    Resolved
    Completely lostThis runs with the proper output in IntelliJ but fails to compile when I submit. Failure to compile is because the Statics class is not found. Everything I find online says to import the class explicitly, but it doesn't work.
    • 07.12.2018
    • 1768views
    • 3comments
    1
  • 1
  • ...
  • 209
  • 210
  • 211
  • 212
  • 213
  • ...
  • 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