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
  • Michal
    Level 26
    Lodz
    Question about the task New functionality!
    Java Multithreading, Level 5, Lesson 2
    Under discussion
    This entire course is a joke
    • 11.06.2020
    • 514views
    • 3comments
    0
  • LeonThePro
    Level 4
    Question about the task Price of apples
    Java Syntax, Level 3, Lesson 4
    Under discussion
    totally clulessI was following some assistance that was provided by a codegym graduate person to a beginner and just stupidly copied and paste onto my assignment. I literally dont have a clue about whats going on i feel like the whole subject wasnt explained properly and I have 0 understanding of what is this code
    • 30.10.2024
    • 141views
    • 5comments
    0
  • LeonThePro
    Level 4
    Question about the task Count the number of cats
    Java Syntax, Level 3, Lesson 5
    Under discussion
    The Cat class must have only one count variable.for me it seems like the code looks pretty good and i literally have only one count variable... so what am I missing here?
    • 31.10.2024
    • 100views
    • 1comment
    0
  • LeonThePro
    Level 4
    Question about the task What's the cat's name?
    Java Syntax, Level 3, Lesson 5
    Under discussion
    private variableWhen we have a private variable ( or whatever it is ) the only method to call it is by using the "this" operation?
    • 31.10.2024
    • 92views
    • 1comment
    0
  • LeonThePro
    Level 4
    Question about the task Price of apples
    Java Syntax, Level 3, Lesson 4
    Under discussion
    I don't understand the code itself.I have a serious question... I come without any prior knowledge in programming or computer science, I started to learn here on codegym and everything went surprisingly smooth and it felt even too easy to be true ( lol ). Like we learned how to declare different types of variables like int, string, e
    • 31.10.2024
    • 89views
    • 1comment
    0
  • LeonThePro
    Level 4
    Question about the task This age doesn't work for me…
    Java Syntax, Level 3, Lesson 4
    Under discussion
    CluelessLiterally have no clue what's wrong here... Would love a good explanation. thanks upfront :)
    • 30.10.2024
    • 136views
    • 5comments
    0
  • LeonThePro
    Level 4
    Under discussion
    Feeling overwhelmed and lostHey everyone, so this is my first serious try to learn Java programming. I started a couple of days ago and everything went almost smooth! Now im at the "Visibility of Variables" part ( Level 3, Lesson 3 ) and I feel like i miss a lot of info and understanding of basic concepts. I don't understand c
    • 30.10.2024
    • 142views
    • 8comments
    0
  • Nursultan Zhumataev
    Level 14
    Question about the task Cat carnage (3)
    Java Syntax, Level 10, Lesson 2
    Resolved
    3rd and 6th requirementsHello guys. I have code in the bottom and tried firstly to compare the weight, age and strength. After tried compare only strength. But in both of the cases don't meet the 3rd and 6th requirements
    • 28.10.2024
    • 107views
    • 4comments
    0
  • LeonThePro
    Level 4
    Question about the task How to take over the world
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Feeling lost here... can some assist me?I feel like i dont know even where to start. The whole scanning part got me confused since the short video speaks about scanner and etc. and the whole written lesson speaks about bufferreader... Would love to have some assistance in order to understand it properly. Thanks upfront!
    • 29.10.2024
    • 113views
    • 2comments
    0
  • LeonThePro
    Level 4
    Question about the task Predictions
    Java Syntax, Level 2, Lesson 8
    Under discussion
    weird thing hereCan someone explain me what am I missing out here?
    • 29.10.2024
    • 88views
    • 3comments
    0
  • Abdul Alhazred
    Level 33
    Minsk
    Question about the task Number algorithms
    Java Core, Level 10, Lesson 10
    Under discussion
    Last requirementHello everyone I would appreciate any help, thoughts, insights on how the code can be improved to meet last requirement. Thanks in advance
    • 26.10.2024
    • 93views
    • 1comment
    0
  • Nursultan Zhumataev
    Level 14
    Question about the task Minesweeper (Part 3/16)
    Games, Level 0, Lesson 0
    Resolved
    4th requirementHello everyone. How do you think what can be done to meet the 4th requirement? Thank you.
    • 26.10.2024
    • 85views
    • 1comment
    0
  • khadar
    Level 2
    Bangaloru
    Question about the task 2048 (Part 1/18)
    Games, Level 0, Lesson 2
    Under discussion
    gamer the gam is very difficult
    • 16.12.2022
    • 295views
    • 0comments
    0
  • Neha Anjum
    Level 6
    Hyderabad
    Question about the task Sum of the digits of a three-digit number
    Java Syntax, Level 3, Lesson 12
    Resolved
    Why am I getting this error "The program ran too long and was closed"..?public class Solution { public static void main(String[] args) { System.out.println(sumDigitsInNumber(546)); } public static int sumDigitsInNumber(int number) { int sum ; int n; sum =0; while(number >=0){ n=number%10;
    • 17.09.2018
    • 1999views
    • 1comment
    2
  • Kingpvz
    Level 31
    Question about the task Sum of even numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    What's the point of the continue statement?This task forces us to use the continue statement but I don't understand why?
    • 25.09.2024
    • 153views
    • 5comments
    2
  • Jaisingh
    Level 14
    Hyderabad
    Question about the task Minimum of two numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    whats wrong with this solution . it display the correct answer . but server is not accepting it . plz tell me whats mistake
    • 15.09.2018
    • 1896views
    • 2comments
    2
  • Prahlad Singh
    Level 6
    Mumbai
    Question about the task Price of apples
    Java Syntax, Level 4, Lesson 1
    Under discussion
    pls help
    • 13.09.2018
    • 1933views
    • 4comments
    2
  • Mfon Joseph
    Level 2
    Question about the task 2048 (Part 1/18)
    Games, Level 0, Lesson 2
    Under discussion
    I can't understand the basicswhy can't I understand the basic concepts
    • 29.03.2023
    • 362views
    • 1comment
    2
  • EDDIE SANCALA JR
    Level 6
    Caraga DAVAO ORIENTAL
    Question about the task Even and odd cells of an array
    Java Syntax, Level 5, Lesson 0
    Under discussion
    answerpackage en.codegym.task.pro.task05.task0502; /* Even and odd cells of an array */ public class Solution { public static final String ODD = "Odd"; public static final String EVEN = "Even"; public static String[] strings = new String[5]; public static void main(String[] args) {
    • 27.12.2022
    • 601views
    • 2comments
    0
  • Mithun
    Level 1
    Черкаси
    Question about the task 2 + 3 = 5
    Java Syntax, Level 0, Lesson 8
    Resolved
    Where is the mistake?I have tried different ways
    • 25.07.2018
    • 1845views
    • 6comments
    2
  • Chan Nyein
    Level 1
    Amagasaki
    Question about the task Amigo is very smart
    Java Syntax, Level 1, Lesson 1
    Under discussion
    What's the name?What's the Java? Amigo is very smart#
    • 20.08.2024
    • 169views
    • 0comments
    0
  • Evgeniia Shabaeva
    Level 40
    Budapest
    Question about the task CRUD 2
    Java Core, Level 7, Lesson 10
    Resolved
    How big do synchronized blocks have to be?I can't attach my solution, as it's already been completed, but I have a question about synchronization. I made my synchronized blocks include only the lines that somehow referred to the allPeople list (and they were present in every case label of the switch block, according to the task). But in the
    • 09.08.2024
    • 147views
    • 3comments
    0
  • Craig McCollum
    Level 20
    Belgrade
    Under discussion
    Why is this code not acceptableThis is my code, it is so much easier to read then the solution provided and when I add random hex values in it does correctly convert to decimal. import java.util.Arrays; public class Solution { public static String[] hexces = {"0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"};
    • 12.10.2024
    • 188views
    • 4comments
    0
  • Eyiyemi Odukunle
    Level 1
    Question about the task It's cool to be a programmer!
    Java Syntax, Level 1, Lesson 3
    Under discussion
    how to code
    • 25.03.2023
    • 471views
    • 3comments
    0
  • matemate123
    Level 50
    Kraków
    Question about the task Find the bugs
    Java Core, Level 10, Lesson 10
    Under discussion
    I have one questionI had problem with this. task, I surfed a little in help section and I did it like below, but today I read whole day articles on Serialization topic, and now I rereaded this task and I commented one line in writeObject() method and one in readObject() becouse I thought that two maybe are redundant.
    • 15.02.2023
    • 417views
    • 7comments
    0
  • Evgeniia Shabaeva
    Level 40
    Budapest
    Question about the task Building a file
    Java Core, Level 8, Lesson 11
    Resolved
    What am I doing wrong?My code is supposed to read several file names from the console until the "end", sort them by the number that follows the "part" word in the name (tried to do so with the help of my Sorter class), create a file in the same directory and name it the same way as the other files, just without "partN",
    • 03.09.2024
    • 157views
    • 10comments
    1
  • Mary Khan
    Level 23
    Russia
    Question about the task Path update
    Java Syntax, Level 9, Lesson 5
    Under discussion
    What my code doesn't get passed by validator?What my code doesn't get passed by validator?
    • 04.02.2022
    • 505views
    • 3comments
    0
  • yehuda b
    Level 23
    Beersheba
    Question about the task Building a file
    Java Core, Level 8, Lesson 11
    Resolved
    Output is correctSo I made this algorithm where I add all Strings (filenames) from the console to an ArrayList, then I add the file part numbers to a TreeSet (lines 25 - 28) then to an ArrayList (line 29), then I iterate (lines 30 - 46) through the filename ArrayList to find the one which part number comes first by
    • 23.08.2020
    • 524views
    • 4comments
    1
  • Priti
    Level 20
    Noida
    New
    Dark Matters relatedI don't have any pending task but still I don't have enough dark matters to move ahead so what I can do?
    • 21.10.2024
    • 76views
    • 0comments
    0
  • Evgeniia Shabaeva
    Level 40
    Budapest
    Question about the task Introducing tags
    Java Core, Level 9, Lesson 11
    Under discussion
    Why not this way?When tested with the suggested input, my code produces the expected output. However, the code is still wrong, as it does not pass the last requirement. I'm not quite sure why. I understand the problem must be with the last while-loop I have. I might be failing to check for all the possible variatio
    • 15.10.2024
    • 135views
    • 5comments
    0
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • ...
  • 371
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