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
  • Seferi
    Level 22
    Question about the task Sorting even numbers from a file
    Java Core, Level 3, Lesson 11
    Resolved
    I think I'm doing something fundementally wrong.. Output has nothing to do whats in the file...I appreciate if someone could explain what am I doing wrong..
    • 8/19/20
    • 509views
    • 5comments
    0
  • atzur
    Level 7
    Madrid
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Resolved
    Using the while loop, i don't understand what's wrong.WHat could go wrong?
    • 8/20/20
    • 632views
    • 3comments
    0
  • Clark Willms
    Level 9
    Omaha
    Question about the task The end
    Java Syntax, Level 7, Lesson 12
    Under discussion
    What am I missingI may have been staring at this too long, but why isn't my keyboard input being read?
    • 8/20/20
    • 499views
    • 2comments
    0
  • Chris
    Level 19
    Newark
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Resolved
    I have no idea what I am doing wrong. I get the right answer in Intellij but it wont let me pass this lesson.
    • 8/5/20
    • 701views
    • 4comments
    0
  • Maxim Raitin
    Level 20
    Tomsk
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    I don't know. I am sure that everything is ok.The error is "The program should display the numbers in descending order." package com.codegym.task.task04.task0420; /* Sorting three numbers */ import java.io.*; import java.io.BufferedReader; public class Solution { public static void main(String[] args) throws Exception {
    • 8/19/20
    • 633views
    • 4comments
    0
  • ziv fisher
    Level 9
    Petah Tikva
    Question about the task Labels and numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    What did I do wrong guys?//
    • 8/20/20
    • 447views
    • 2comments
    2
  • Angel Stefan Arjoca
    Level 26
    Bucharest
    Question about the task Two in one
    Java Core, Level 8, Lesson 11
    Resolved
    The output stream for the first file...The output stream for the first file is not closed!!! Why line 40 is not working?
    • 8/19/20
    • 815views
    • 5comments
    0
  • Mnemonic
    Level 9
    london
    Question about the task Console-based piggy bank
    Java Syntax, Level 5, Lesson 12
    Resolved
    Not able to spot what's wrong here :(-
    • 8/20/20
    • 623views
    • 1comment
    0
  • David
    Level 26
    Bucharest
    Question about the task Phone number verification
    Java Multithreading, Level 2, Lesson 13
    Resolved
    Handle the case where phoneNumber is null.I have put the condition for that case where phoneNumber is null, but still same error. I also have the right output for all the examples Can anyone help me, please??
    • 8/19/20
    • 632views
    • 5comments
    0
  • Yuvavimal
    Level 12
    coimbatore
    Question about the task Changing functionality
    Java Syntax, Level 7, Lesson 12
    Resolved
    what is the wrong?why not pass the requriement
    • 8/20/20
    • 576views
    • 1comment
    0
  • adhargupta01
    Level 4
    Noida
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Under discussion
    What's the errorplz help
    • 8/20/20
    • 522views
    • 1comment
    0
  • Yuvavimal
    Level 12
    coimbatore
    Question about the task Cat code won't compile
    Java Syntax, Level 7, Lesson 12
    Under discussion
    I'll getting null pointer exceptionpackage com.codegym.task.task07.task0726; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; /* Cat code won't compile */ public class Solution { public final static ArrayList CATS = new ArrayList<>(); public s
    • 8/20/20
    • 1095views
    • 4comments
    0
  • adhargupta01
    Level 4
    Noida
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Under discussion
    what's the error plz help
    • 8/20/20
    • 422views
    • 1comment
    0
  • bamughamye patrick
    Level 8
    Paris
    Question about the task Financial expectations
    Java Syntax, Level 3, Lesson 12
    Under discussion
    I dont know why i cant fulfill the last condition. Here is my code.public class Solution { public static void Expectation (int n) { System.out.println("I will earn $" + n + " per hour"); } public static void main(String[] args) throws Exception { //write
    • 8/13/20
    • 801views
    • 3comments
    0
  • Baurzhan Konurbayev
    Level 40
    Question about the task Iterating through a file tree
    Java Collections, Level 1, Lesson 2
    Archived
    Rename test failsHi, For some reason rename doesn't work. I was using both FileUtils method and native File class method. Please, help me to figure the problem. Thank you!
    • 8/18/20
    • 482views
    • 6comments
    0
  • Dương Tiến Đạt
    Level 41
    Ha Noi City
    Question about the task Refactoring (part 6)
    Java Multithreading, Level 5, Lesson 16
    Resolved
    Can someone tell me what's wrong?The Validation's recommendation keep telling me that "The expel(Student) method should delete the passed student" while I've already implemented that.
    • 8/19/20
    • 711views
    • 2comments
    0
  • Henrique
    Level 41
    São Paulo
    Question about the task Restaurant (part 8)
    Java Multithreading, Level 9, Lesson 15
    Resolved
    in my mind i did exactly what the requirements asked for, still everything is wrong. HELP PLEASEtjo4ighr
    • 8/19/20
    • 559views
    • 3comments
    0
  • Stephen Haokip
    Level 12
    imphal
    Question about the task Make a family
    Java Syntax, Level 8, Lesson 11
    Under discussion
    i don't know where i go wrongtrying for the 8 time. please help me
    • 8/19/20
    • 871views
    • 2comments
    0
  • Hari
    Level 8
    Worcester
    Question about the task Initializing cats
    Java Syntax, Level 5, Lesson 7
    Resolved
    what is wrong in the code. Admin's please help. package com.codegym.task.task05.task0510; /* Initializing cats */ public class Cat { //write your code here private String name = null; private int weight = 10; private int age = 1; private String color = "yellow"; private String address = null; pu
    • 8/2/20
    • 664views
    • 7comments
    0
  • khushbu Nirmal
    Level 7
    Mumbai
    Question about the task Create a Friend class
    Java Syntax, Level 5, Lesson 7
    Resolved
    help!!I'm not understanding whats going wrong in my code
    • 11/1/18
    • 2611views
    • 8comments
    1
  • Ashish RajAnand
    Level 13
    Bhilai
    Question about the task Create a Friend class
    Java Syntax, Level 5, Lesson 7
    Resolved
    every time i made same code without any error after summit it shows some error . Today i wake up and again summit the same code ,i got surprise that my code is summit.
    • 2/16/20
    • 1365views
    • 2comments
    0
  • Niladri pradhan
    Level 33
    Mumbai
    Question about the task Restaurant (part 2)
    Java Multithreading, Level 9, Lesson 15
    Resolved
    Log condition did not metHow to satisfy "write the message "The console is unavailable." (with log level SEVERE)." condition . I have tried everything but it did not work.
    • 1/5/20
    • 1389views
    • 1comment
    2
  • Angel Stefan Arjoca
    Level 26
    Bucharest
    Question about the task ABCs
    Java Core, Level 8, Lesson 11
    Resolved
    I don't understand this one!I don't understand what is the conexion between args and the letters of english alphabet. How i read the english alphabet from the file args. I don't need the code, i need the pseudocode because i don't understand. Tk!
    • 8/19/20
    • 724views
    • 3comments
    0
  • M Till
    Level 7
    San Jose
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    100% sure this is a correct solution, but still failsUpon verification it says "took too long, looks like you have an infinite loop", despite it even showing my output is correct. It is not an infinite loop, I added condition that changes the while condition to false and a break statement(even though one or the other is sufficient) in two places in wh
    • 7/25/20
    • 776views
    • 4comments
    0
  • Jurabek Kuralbaev
    Level 8
    Tashkent
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    How can I resolve it?last requirement does not met I did all right. Please help me with this!
    • 7/29/20
    • 825views
    • 4comments
    0
  • Henrique
    Level 41
    São Paulo
    Question about the task Refactoring the Chain of Responsibility pattern
    Java Multithreading, Level 9, Lesson 9
    Resolved
    I think the problem is with the constructor. HELP PLIZwhen i remove the level field, the constructors crash, and i need them to make it verify. what's the solution?
    • 8/18/20
    • 497views
    • 3comments
    0
  • Eddie
    Level 16
    Jacksonville
    Question about the task Making the top ten
    Java Core, Level 2, Lesson 12
    Resolved
    Not sure this is not working.Hello Fellow Codegym, I am not sure why my code is not passing the conditions. I must be overlooking something. The overloaded transformValue method must double the number passed to it. - line 19 is overloaded, doubles the number by adding itself The main method should only call the transformVal
    • 3/10/19
    • 2453views
    • 7comments
    0
  • Jared
    Level 9
    Aurora
    Question about the task Cat code won't compile
    Java Syntax, Level 7, Lesson 12
    Resolved
    I keep getting NullPointerExceptionjava.lang.NullPointerException at com.codegym.task.task07.task0726.Solution.main(Solution.java:23) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(De
    • 7/19/19
    • 1805views
    • 4comments
    1
  • anna
    Level 15
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Resolved
    Second condition not matched .I am absolutely lost, second condition always not matched...
    • 8/18/20
    • 607views
    • 3comments
    0
  • Abdullah Al Hasan
    Level 13
    Question about the task Unknown animal
    Java Core, Level 2, Lesson 12
    Under discussion
    what the blunder i've done?its producing output like - Cat Tiger Lion Bull Animal
    • 1/14/19
    • 1679views
    • 4comments
    1
  • 1
  • ...
  • 149
  • 150
  • 151
  • 152
  • 153
  • ...
  • 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