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
  • manoj deo
    Level 3
    Jakarta
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Resolved
    its not workinghelp
    • 10/1/18
    • 1993views
    • 3comments
    0
  • dD
    Level 17
    Novi Sad
    Question about the task Sum of 5 numbers
    Java Syntax, Level 3, Lesson 4
    Resolved
    ConfusedCan someone please tell me why my solution is not good, when the output is right and there are no errors?
    • 1/18/19
    • 2772views
    • 13comments
    2
  • Sanjay Chauhan
    Level 28
    Delhi
    Question about the task Five winners
    Java Syntax, Level 8, Lesson 11
    Resolved
    Failing in passing sort() methodDear CodeGym Members, Good Morning. Will it be possible for you to have a look at my solution. I am failing at Sort() method although I am getting correct output in CodeGym as well as in the IntellJ. Thanks in advance for your valuable time and feedback. Have a nice weekend, Sanjay Chauhan
    • 2/15/20
    • 1623views
    • 3comments
    1
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task Advanced file search
    Java Collections, Level 1, Lesson 2
    Under discussion
    How to resolve problem of a maximum or minimum file size (int)?need hint
    • 4/24/19
    • 1703views
    • 3comments
    0
  • Pablo Souza
    Level 22
    Brisbane
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 4
    Under discussion
    My doubled number keeps being multiplied by 10. Hey folks, no idea what's going on, as my doubled number is always multiplied by 10.
    • 3/12/20
    • 965views
    • 2comments
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task Everything ingenious is simple!
    Java Multithreading, Level 1, Lesson 2
    Resolved
    Please help4th requirement isn't passing; but I'm sure it's correct
    • 3/12/20
    • 1015views
    • 2comments
    0
  • Ntuthuko Xaba
    Level 18
    Johannesburg
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Looking for some insightGuys although I've solved the task I don't understand why the following solution doesn't work. I know I can't use a ' for loop ' to remove elements but this seems to make sense ,but it doesn't work. Iv'e tried googling with no satisfactory answers. Why doesn't this work : Iterator
    • 3/12/20
    • 1106views
    • 2comments
    0
  • Art
    Level 13
    Chisinau
    Question about the task Set of cats
    Java Syntax, Level 8, Lesson 11
    Under discussion
    Correct output but won't go throughHey everyone! Can you help me detect where's the problem? Thanks a bunch!
    • 3/12/20
    • 923views
    • 1comment
    0
  • catalinene
    Level 29
    Greven
    Question about the task Finding data inside a file
    Java Core, Level 8, Lesson 11
    Resolved
    How does the pattern look like?The task describes the pattern as: id productName price quantity. So how I picture it is this (for example): 1 iPhone 2xs 1999.99 3. So if the name (iPhone 2xs) has spaces and numbers in it, how can I distinguish betwen what is what, I mean where the name finishes and the ''price'' starts?
    • 3/11/20
    • 1060views
    • 3comments
    0
  • Adnan Razzaq
    Level 15
    Bamberg
    Question about the task OOP: Animal inheritance
    Java Core, Level 5, Lesson 2
    Under discussion
    not verifying?i cant verify it.
    • 10/12/19
    • 1363views
    • 2comments
    2
  • catalinene
    Level 29
    Greven
    Question about the task Symbol frequency
    Java Core, Level 8, Lesson 11
    Resolved
    Output matches the task condition, but fails passingEvery file I tried on showed a good result in correct order. Don't know what could go wrong
    • 3/11/20
    • 1120views
    • 3comments
    0
  • Tianxiang Wan
    Level 16
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Under discussion
    test all situations. worked. just couldnt verify the last requirementsomeone help me out pls
    • 3/11/20
    • 1015views
    • 1comment
    0
  • catalinene
    Level 29
    Greven
    Question about the task Splitting a file
    Java Core, Level 8, Lesson 5
    Resolved
    "IndexOutOfBoundException" not seeing where exactlyThe file I used for testing created a byte[] of length 47, and the last index accessed through the "fos1.write(buffer,midle,(buffer.length - 1))" (exception thrown at line 16) is 46. I don't see where the error is coming from. Thanks!(code below) public static void main(String[] args) {
    • 3/9/20
    • 1321views
    • 8comments
    0
  • JianQiu Hwang
    Level 35
    Washington
    Question about the task Words with numbers
    Java Core, Level 9, Lesson 11
    Resolved
    Is any case wrong? I cannot find why it wrong.My test case include 1n n1 1n1 n1n abc1 adsa%4125 a1 abc3d @#$!%@%1 fasgqqr
    • 3/11/20
    • 856views
    • 2comments
    0
  • Khalid
    Level 7
    Delhi
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    Not workingIt is showing error while i have tried a lot. Please help me.
    • 10/20/18
    • 1723views
    • 5comments
    0
  • Niladri pradhan
    Level 33
    Mumbai
    Question about the task Cats
    Java Core, Level 4, Lesson 4
    Under discussion
    why did i get a null pointer exceptionnull pointer exception
    • 8/14/19
    • 1576views
    • 2comments
    0
  • Cristian Belu
    Level 16
    Timisoara
    Question about the task Minesweeper (Part 8/16)
    Games, Level 0, Lesson 0
    Resolved
    Stuck on the validation! Don't really understand what is the request here, please help! What does it mean by set countFlags to countMinesOnField?
    • 8/22/19
    • 1299views
    • 4comments
    0
  • Art
    Level 13
    Chisinau
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Where's the issue?Thanks.
    • 3/11/20
    • 903views
    • 2comments
    0
  • Dino
    Level 13
    Zagreb
    Question about the task Task about algorithms
    Java Syntax, Level 8, Lesson 11
    Resolved
    Why is it not verifying?The program works correctly, but it wont verify.
    • 1/24/19
    • 2461views
    • 21comments
    0
  • Surabhi
    Level 10
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Resolved
    where i am making a mistake?the last condition is not fulfilled. It says -- Be sure that the program works correctly if the sequence consists of numbers greater than 127.
    • 10/9/18
    • 3178views
    • 26comments
    4
  • Halmstark
    Level 6
    Warsaw
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Resolved
    The code is working correctly, but is verified as wrongHello, the code is actually displaying what the task wanted, yet somehow it is verified as it was wrong. Can anyone spot the mistake?
    • 5/25/19
    • 2034views
    • 8comments
    0
  • Cam
    Level 15
    Bogota
    Question about the task Escaping characters
    Java Syntax, Level 3, Lesson 6
    Under discussion
    WhyCan someone please tell me what"s going on? o don't know why this code won't work, and the only "bug" I get is that the P in program is an illegal scape character... don't know what that means. Please help.
    • 3/10/20
    • 1002views
    • 1comment
    0
  • Joseph Haynes
    Level 2
    United States of America
    Question about the task Hello, StarCraft!
    Java Syntax, Level 3, Lesson 4
    Resolved
    solved tasksI would REALLY like to go back and experiment with new solutions after a task is completed. Why am I prevented from doing this? I payed a lot of money for this course. Can I unlock the task so as to revisit it?
    • 12/17/19
    • 1653views
    • 3comments
    0
  • catalinene
    Level 29
    Greven
    Question about the task Spaces
    Java Core, Level 8, Lesson 11
    Under discussion
    What is wrong in my formula?Code below:
    • 3/10/20
    • 866views
    • 1comment
    0
  • Henry Yao
    Level 22
    Pasadena
    Question about the task Jen or Jen?
    Java Syntax, Level 4, Lesson 6
    Under discussion
    not able to pass the last requirement ??? import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String name1 = br.readLine(); String name2 = br.readLine(); if
    • 3/9/20
    • 974views
    • 7comments
    0
  • Ahmed
    Level 23
    Amsterdam
    Question about the task Tracking changes
    Java Core, Level 9, Lesson 11
    Under discussion
    Any hints? My code works as the example shows. But i still get an error? Anyone knows why?
    • 12/15/19
    • 1348views
    • 2comments
    0
  • Andrew
    Level 29
    Seattle
    Question about the task Tracking changes
    Java Core, Level 9, Lesson 11
    Resolved
    I've been looking at this too long.The meat of the program starts at line 51. When I test the output, it looks like it is doing the right thing. This one is twisting my brain. Any hits will be appreciated.
    • 3/4/19
    • 1909views
    • 11comments
    0
  • Caleb
    Level 16
    Harmony
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Under discussion
    I cannot get the tests to pass.My output looks correct but I cannot find the error. Any help would be appreciated.
    • 3/10/20
    • 896views
    • 7comments
    0
  • Nitin raj
    Level 12
    Mumbai
    Question about the task Remove and insert
    Java Syntax, Level 7, Lesson 6
    Under discussion
    please explain the 3rd requirementWhy the remaining two conditions are not met. Please explain the 3rd requirements.
    • 7/11/19
    • 1441views
    • 6comments
    0
  • Shahanshah Alam
    Level 9
    Mohali
    Question about the task Remove and insert
    Java Syntax, Level 7, Lesson 6
    Under discussion
    helpplease
    • 9/27/18
    • 1573views
    • 6comments
    0
  • 1
  • ...
  • 225
  • 226
  • 227
  • 228
  • 229
  • ...
  • 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