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
  • Ajani
    Level 16
    Jacksonville
    Question about the task Cats
    Java Core, Level 4, Lesson 4
    Resolved
    A little confused - task verification fail. Failed to make a cat for each entry.So supposedly I failed to create a cat for each input entry. however that is false. I made a temp cat for each of those entries utilizing the required class and its method CatFactory. please tell me why this failed.
    • 14.03.2022
    • 744views
    • 3comments
    0
  • Justin Smith
    Level 41
    Greenfield, USA
    Question about the task Chat (part 11)
    Java Multithreading, Level 6, Lesson 15
    Resolved
    Can't get past the last requirementThe issue is that the requirements aren't really that clear what message they want. I will note that I have done something a little bit different in how I approached this; I've nested try/catch statements in order to be able to differentiate whether the exception comes from the Connection constructo
    • 17.03.2022
    • 795views
    • 6comments
    0
  • null
    Level 29
    Poznan
    Question about the task Minesweeper (Part 2/16)
    Games, Level 0, Lesson 0
    Resolved
    Can't run the file - Javafx errorHello. I've created the file and passed the test at task number one, howeover it does not work. When I try to run the file I get error: Error:(4, 8) java: cannot access javafx.application.Application class file for javafx.application.Application not found My code: package com.codegym.games.mine
    • 15.07.2019
    • 2336views
    • 6comments
    0
  • yi
    Level 20
    Toronto
    Question about the task My first thread
    Java Core, Level 6, Lesson 3
    Under discussion
    Cam someone help me with this one ? I know this one is easy, but what do i need to change to pass the task ?
    • 04.01.2020
    • 1185views
    • 4comments
    0
  • Jack
    Level 6
    United States of America
    Question about the task A name is a name
    Java Syntax, Level 4, Lesson 16
    Under discussion
    IDEI have the correct solution - submitted it through web, but IDE is giving this error: Exception in thread "main" java.lang.NumberFormatException: For input string: "Jack" at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67) at java.base/java.lang.Integer.parse
    • 11.03.2022
    • 471views
    • 5comments
    0
  • Radosław Nowosielski
    Level 26
    Poland
    Question about the task Binary converter
    Java Syntax, Level 9, Lesson 2
    Resolved
    What is wrong?I know the problem is in line 32, I tried different options there but still not passing the validation.
    • 10.03.2022
    • 584views
    • 2comments
    0
  • Сергей
    Level 3
    Question about the task Escaping characters
    Java Syntax, Level 3, Lesson 6
    Under discussion
    what's wrong? package com.codegym.task.task03.task0316;
    • 26.02.2021
    • 637views
    • 2comments
    0
  • y-meyer2
    Level 28
    Germany
    Question about the task Building a file
    Java Core, Level 8, Lesson 11
    Under discussion
    Could someone tell me whats wrong in my code?Hi, it keeps saying that i didnt closed the streams but i think i did or am i wrong? Thanks in advance
    • 08.03.2022
    • 663views
    • 1comment
    0
  • Anonymous #10924226
    Level 15
    France
    Under discussion
    Where is level 5?Hello guys ! When i want to "view all task" in IntelliJ, i only have the levels before level 5 but nothing after :'( Any IDEA[ :-p] please? Thomas
    • 22.02.2022
    • 478views
    • 2comments
    0
  • Jaime Padilla
    Level 41
    Chandler
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Resolved
    It seems to work, but won't pass. Why?When I print it out it does what it's supposed to, but it doesn't want to pass. What's the reason?
    • 03.03.2022
    • 484views
    • 2comments
    0
  • Jonaskinny
    Level 25
    Redondo Beach
    Resolved
    Each time I access Core Level 1 I get forced back to Syntax Level 17 Cleared cookies/restarted. Anyone know how to get through to Core when you are level 19?I'm so frustrated with this for the last few hours, wasting so much time. If anyone can suggest how to get around this I'd really appreciate it. I have reached out to Admin on message, chat, email etc and have not gotten a response. I am supposed to be working on this now and through the weekend and
    • 26.02.2022
    • 509views
    • 5comments
    0
  • asyraf
    Level 3
    Kuala Lumpur
    Question about the task Currency exchange
    Java Syntax, Level 3, Lesson 3
    Under discussion
    I need a clue.. Can someone helpI have try and getting no result expect error.. i need a clue
    • 18.06.2019
    • 1581views
    • 3comments
    0
  • dodoalkhalbe
    Level 6
    Ames
    Under discussion
    What are static vs non static variables? what is variable scope? More about variable scope (section)
    • 27.02.2022
    • 543views
    • 1comment
    0
  • Josephine
    Level 26
    Normal
    Question about the task Minesweeper (Part 15/16)
    Games, Level 0, Lesson 0
    Under discussion
    Can somone explain ,what does the 7th requirement do..with setcellvalue?The createGame() method must clear all items (flags, mines, numbers) from the playing field. Use the setCellValue(int, int, String) method. Pass an empty string as the last argument.
    • 18.02.2021
    • 464views
    • 5comments
    0
  • Luyi
    Level 31
    Kosice
    Question about the task Minesweeper (Part 15/16)
    Games, Level 0, Lesson 0
    Resolved
    last conditionHello there, I do not understand last condition; my point is in the method onMouseLeftClick I already opening the tiles. Why should I open a tile and restart the game in the same turn? What I am missing here please? At first point I thought that I should call the restart method only in case isGame
    • 04.12.2019
    • 1893views
    • 9comments
    0
  • Vo
    Level 41
    Sofia
    Question about the task Shortener (6)
    Java Collections, Level 6, Lesson 15
    Resolved
    Doesn't pass no matter whatAfter tons of attempts and on the edge of desperation I decided to use the answer provided by CodeGym. First of all, my answer is literally the same as theirs But this is not everything, it doesn't even pass the provided answer. How is that even possible ? Please let me know what you think.
    • 13.04.2021
    • 846views
    • 3comments
    2
  • Jesus Bárbara
    Level 22
    Question about the task Minimum or maximum
    Java Syntax, Level 13, Lesson 2
    Resolved
    What's wrong here?Can someone help me figure out what's wrong? The output seems fine.
    • 24.02.2022
    • 415views
    • 2comments
    0
  • Andrew
    Level 29
    Seattle
    Question about the task Chat (part 17)
    Java Multithreading, Level 6, Lesson 15
    Under discussion
    Code passes verification but program doesn't run correctlyWhen I run the Server, I enter a random port number, let's say "1111" (tried this with a variety of ports). I get "Server is running." Then I run the Client and for server address, I enter "localhost" (also tried with IP directly) and for port I enter "1111". Then I get back "An error occurred whil
    • 03.06.2019
    • 1649views
    • 3comments
    0
  • Angel Stefan
    Level 23
    Sibiu
    Question about the task Problem solving
    Java Core, Level 9, Lesson 8
    Under discussion
    How regex work?After we split(" ") the string what is the value of array[4](the last element of array) if the string to split is "3 + 6 = "(4 char and 4 char space)? We have " "(space) after = but if we split with regex " " and after the space we don't have nothing why the array have 5 elements!?
    • 18.02.2022
    • 949views
    • 6comments
    0
  • Rich
    Level 23
    San Diego
    Question about the task Threads and bytes
    Java Core, Level 8, Lesson 11
    Under discussion
    missing fourth criterialooks like it should meet all checks but I'm missing the fourth. is it because I only use one Thread at a time and iterate to start new ones one at a time?
    • 22.02.2022
    • 497views
    • 3comments
    0
  • Jesus Bárbara
    Level 22
    Question about the task Binary to hexadecimal converter
    Java Syntax, Level 9, Lesson 2
    Resolved
    Am I missing something?What's wrong with my code? The output seems correct but the task is not completed. Can someone help me, please?
    • 21.02.2022
    • 739views
    • 7comments
    2
  • Alexandre Desbois
    Level 10
    Chamarandes-Choignes
    Question about the task Vowels and consonants
    Java Syntax, Level 9, Lesson 11
    Under discussion
    Why did I need to write "java.lang.String" instead of just String?Hello, I don't understand why IntelliJ didn't want me to write just String s and wanted me to add java.lang. before it. Do you know why? What should I do to just do it like before? Thanks, Alexandre
    • 21.02.2022
    • 445views
    • 1comment
    0
  • Alexandre Desbois
    Level 10
    Chamarandes-Choignes
    Question about the task Dividing by zero
    Java Syntax, Level 9, Lesson 11
    Resolved
    Why we shouldn't throw the Exception in the divideByZero() method?Hello, Everything is in the title. I don't understand why it's not necessary to throw the ArithmeticException in the divideByZero() method. Thanks, Alexandre
    • 21.02.2022
    • 472views
    • 2comments
    0
  • LuisRC
    Level 39
    Gijón
    Question about the task Let's talk music
    Java Core, Level 6, Lesson 3
    Under discussion
    Where's the problem?Hi, I've though that the problem with this task was that I had implemented it by using System.currentTimeMillis() which was not validated. After reading the help section I have modified it tby using the Date and again it didn'tt pass the validation. Now I've no idea was wrong. Thanks in advance for
    • 20.02.2022
    • 398views
    • 2comments
    0
  • Paul
    Level 24
    Vienna
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    How to see the Input in IntelliJ?I can't find the Input (8 & Kevin) in IntelliJ, also when I run the program in IntelliJ, I don't get the right result ( just the file location), still the code was marked as correct. I tried to run the code later on the website, but you can't run it anymore once it is correct. Does anyone knows
    • 23.10.2019
    • 1710views
    • 3comments
    3
  • LuisRC
    Level 39
    Gijón
    Question about the task Request parser
    Java Core, Level 5, Lesson 12
    Under discussion
    What's wrong?Hi there, I've been dealing with this task for two days and the fact is that I think I don't understand what's expected in this task and why my solution has not been validated. Some help please?
    • 18.02.2022
    • 515views
    • 2comments
    0
  • aijo
    Level 30
    Germany
    Question about the task Rarest bytes
    Java Core, Level 8, Lesson 3
    Under discussion
    Output seems correct, but validation fails. Why?Does someone perhaps know why my solution fails the validation? the outputs seem to be correct when I test with sample file...
    • 16.02.2022
    • 831views
    • 12comments
    0
  • Angel Stefan
    Level 23
    Sibiu
    Question about the task Counting words
    Java Core, Level 9, Lesson 5
    Resolved
    It work's with my file!Any hint? Tk you!
    • 17.02.2022
    • 859views
    • 8comments
    0
  • Юра Иванов
    Level 1
    Kharkiv
    Under discussion
    Коли я ввожу свою адресу, видається сповіщення, що вона використовується іншим користувачем. Що ж робити?
    • 17.02.2022
    • 413views
    • 1comment
    0
  • Jcode
    Level 27
    Question about the task There are a lot of resources
    Java Syntax, Level 16, Lesson 3
    Under discussion
    Why is the throws IOException required in line 14???The task gets us to take a pre-Java 7 try-catch-finally and update it using a try-with-resources. The code shown below is the task is in its untouched original form hence the errors shown when it is verified. I noticed on Line 14 public static void main(String[] args) throws IOException { On line
    • 15.02.2022
    • 621views
    • 12comments
    0
  • 1
  • ...
  • 46
  • 47
  • 48
  • 49
  • 50
  • ...
  • 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