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
  • Shawn
    Level 3
    Dallas
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Under discussion
    How do I save a reference?It only hints instead of explaining how to apply what's in the lesson to this task.
    • 06.12.2019
    • 1050views
    • 1comment
    0
  • Hendra
    Level 8
    Medan
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    what's wrong with my code?package com.codegym.task.task04.task0420; /*
    • 07.12.2019
    • 864views
    • 1comment
    0
  • marwan
    Level 22
    Question about the task Words in reverse
    Java Syntax, Level 7, Lesson 9
    Resolved
    What the problem the program work will ?what the problem with the last point the program display in reverse order.
    • 05.12.2019
    • 1267views
    • 3comments
    0
  • Ankit
    Level 3
    delhi
    Under discussion
    "No classes to display" - Can't complete tasksHello, I've reached level 3 and it seems like the website is bugged for me or something. It doesn't show me any tasks in the "tasks section" although I do have unlocked new lessons and have unfinished tasks. Also, when I open a task, I can't write code as I get the next message "No classes to displ
    • 06.12.2019
    • 1058views
    • 2comments
    0
  • Dave Andrea
    Level 41
    Question about the task Ascending numbers
    Java Syntax, Level 6, Lesson 11
    Under discussion
    I tried this without using the built in sort method. Any idea why it doesn't work?I'm trying to figure out where I went wrong here. Someone had to build the built-in sort function, so I'm trying to figure out how it works. I don't understand the compiler error it gives me (index out of bounds error because i = 5) because the loops should break before that happens. If I print the
    • 06.12.2019
    • 1426views
    • 5comments
    0
  • Shawn
    Level 3
    Dallas
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Under discussion
    How do I create a reference to the object for this?This is the second task I've come across asking for this, and reference creation hasn't been properly explained or taught yet.
    • 06.12.2019
    • 967views
    • 3comments
    0
  • catalinene
    Level 29
    Greven
    Question about the task Task about algorithms
    Java Syntax, Level 9, Lesson 11
    Under discussion
    The logic should be corectSo the logic should be corect. At first I got the right output, but without using the "isGreaterThan" method and intead just using an ArrayList and Collection.sort(). I rewrote the same logic to use the "isGreaterThan" method. But now it doesn t stop from accepting inputs (see code below) Thanks in
    • 05.12.2019
    • 1321views
    • 1comment
    0
  • Adam S
    Level 22
    Gliwice
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    Can anyone have a look plsGuys what's wrong with this last condition?
    • 05.12.2019
    • 1181views
    • 2comments
    0
  • Ovo Leslie
    Level 26
    Lagos
    Question about the task Human class constructors
    Java Syntax, Level 10, Lesson 11
    Resolved
    Help neededI cant see why I am not getting the 10 constructors
    • 04.12.2019
    • 1621views
    • 2comments
    0
  • LucGar
    Level 22
    Bilbao
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    i dont understand the use of "%5" in this exercisei think, i have to use the "%5", but i dont knom what this mean.
    • 04.12.2019
    • 1132views
    • 2comments
    0
  • Ilia Kalugin
    Level 25
    Novara
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    Can someone explain to me why I am not reaching the conditions?Output is correct. public class Solution { private static List strings; public static void main(String[] args) throws Exception {
    • 05.12.2019
    • 1321views
    • 1comment
    0
  • Joy Majumdar
    Level 16
    Kolkata
    Question about the task Month number
    Java Syntax, Level 8, Lesson 11
    Under discussion
    How to do it with Map ?Suggest
    • 14.04.2019
    • 1511views
    • 4comments
    0
  • Ilia Kalugin
    Level 25
    Novara
    Question about the task Maximum in an array
    Java Syntax, Level 7, Lesson 4
    Resolved
    Help me please!What wrong with my code??
    • 03.12.2019
    • 1105views
    • 4comments
    0
  • Ilia Kalugin
    Level 25
    Novara
    Question about the task One large array and two small ones
    Java Syntax, Level 7, Lesson 4
    Resolved
    I really need help!Why my code doesn't work? public class Solution { public static void main(String[] args) throws Exception {
    • 04.12.2019
    • 1203views
    • 2comments
    0
  • vibhas
    Level 2
    Mumbai
    Under discussion
    Level 2 Lesson 1 task is confusingLevel 2 Lesson 1 task is confusing
    • 26.07.2019
    • 1285views
    • 2comments
    0
  • - FniJnn -
    Level 33
    Paris
    Question about the task Building a file
    Java Core, Level 8, Lesson 11
    Under discussion
    Need help thanks :)I think problem comes from the list, when i try to initialize it with an initial size, the debugger shows me that it's size is still 0. When i try to add to the list using list.add(index, file), it throws me an IndexOutOfBounds exception.
    • 05.12.2019
    • 1034views
    • 1comment
    0
  • Hendra
    Level 8
    Medan
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Under discussion
    can you see my wrong code?package com.codegym.task.task04.task0414;
    • 05.12.2019
    • 961views
    • 2comments
    0
  • Erhan H.
    Level 23
    Istanbul
    Question about the task Reading and writing to a file: CodeGym
    Java Core, Level 10, Lesson 2
    Under discussion
    Need helpHelp please
    • 02.12.2019
    • 1172views
    • 1comment
    0
  • hidden #10538281
    Level 10
    Question about the task Static cats
    Java Syntax, Level 6, Lesson 11
    Resolved
    Almost! How to print correctly?Hi! When I print the objects they are printed in an "ugly" way, with the hashcode (Cat@38c6f217). How can I solve this without the need of using a toString() method? And I've discovered in this task that when creating many objects, they don't necessarily need to have a different name (ie. a differe
    • 19.11.2019
    • 1651views
    • 4comments
    0
  • TARAS
    Level 22
    Lviv
    Question about the task A scary fairy tale
    Java Syntax, Level 9, Lesson 11
    Under discussion
    to pass the task wolf needs to eat grandmother aswell... It was not in the conditions.how to report it?
    • 04.12.2019
    • 1281views
    • 1comment
    0
  • chinchillo
    Level 6
    Question about the task More conversions
    Java Syntax, Level 3, Lesson 8
    Under discussion
    Any idea whats wrong here? Can't find the issue.
    • 17.11.2019
    • 939views
    • 2comments
    0
  • Arslan Ashraf
    Level 5
    Lahore
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Resolved
    This Solution is Right or Wrong?i don't know how to move to new line but i used sytem.out.prinln() without any output role,Is that correct way or Wrong way?
    • 04.12.2019
    • 1262views
    • 4comments
    0
  • Vaibhavi
    Level 5
    Vijayawada
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    Code is right but still not fullfilled conditionsI have entered the correct order but still it shows wrong please clarify
    • 29.11.2019
    • 1306views
    • 2comments
    0
  • Alvin B
    Level 8
    Newark
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Sorting Three Numbers. What is wrong?Hello, I have been working on this task for days without success. I have changed my algorithm several times and feel this one should work. The last two requirements were not met. I would like any hints or feedback as to my error. Thanks so much in advance.
    • 05.12.2019
    • 1395views
    • 1comment
    0
  • Rupa Joshi
    Level 29
    Tokyo
    Question about the task Arkanoid (part 17)
    Java Multithreading, Level 3, Lesson 13
    Resolved
    Not able tp verify first condition.As it looks easy to implement am I missing something
    • 04.10.2019
    • 1305views
    • 1comment
    0
  • Rupa Joshi
    Level 29
    Tokyo
    Question about the task Prices 2
    Java Core, Level 8, Lesson 11
    Resolved
    whats wrong with the code?Why its not working with simple string? i know we can use either list or map or other such type but what i am missing with the string?
    • 23.08.2019
    • 1262views
    • 2comments
    0
  • Rad
    Level 8
    Maidstone
    Question about the task Multiplication table
    Java Syntax, Level 4, Lesson 10
    Resolved
    need helpplease check my code it is only working for 1 table the loop is not repeating
    • 18.10.2018
    • 2525views
    • 9comments
    2
  • lonelygleaner
    Level 1
    New York
    Question about the task Threads and bytes
    Java Core, Level 8, Lesson 11
    Under discussion
    Not sure why it did not passpackage com.codegym.task.task18.task1823; import java.util.HashMap; import java.util.Map; import java.io.*; /* Threads and bytes */ public class Solution { public static Map resultMap = new HashMap(); public static void main(String[] args) throws Exception{ BufferedReader reade
    • 11.08.2019
    • 1419views
    • 1comment
    0
  • jawad
    Level 10
    Lahore
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    Helpwhat's the problem code is not running and neither showing any error
    • 04.12.2019
    • 1112views
    • 1comment
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Number algorithms
    Java Core, Level 10, Lesson 10
    Under discussion
    Need helpOne condition pls
    • 30.06.2019
    • 1381views
    • 2comments
    0
  • 1
  • ...
  • 248
  • 249
  • 250
  • 251
  • 252
  • ...
  • 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