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
  • matemate123
    Level 50
    Kraków
    Question about the task Snake (part 17)
    Java Multithreading, Level 2, Lesson 18
    New
    What's wrong?I haven't ideas.
    • 03.04.2023
    • 251views
    • 1comment
    0
  • Karolina Napieracz
    Level 25
    Poland
    Question about the task Minesweeper (Part 1/16)
    Games, Level 0, Lesson 0
    Resolved
    How to run game in intellij IDEAHello, What should I do to run the game in intellij IDEA? Run button is disabled. The method shown in https://codegym.cc/help/12750 doesn't work. the only way to check my results is to run the code through the CodeGym website. I am attaching a screenshot, maybe it will help in solving the problem
    • 01.04.2023
    • 416views
    • 2comments
    0
  • Mateo
    Level 26
    Zagreb
    Question about the task Minesweeper (Part 9/16)
    Games, Level 0, Lesson 0
    Resolved
    Can somebody explain the last condition?Last condition makes no sense...
    • 12.07.2019
    • 1517views
    • 4comments
    1
  • Gellert Varga
    Level 23
    Szekesfehervar
    Question about the task Calculating salaries
    Java Core, Level 9, Lesson 11
    Resolved
    Should they be sorted alphabetically or in ascending order of salaries??I have arranged them in the order of the payments...
    • 10.10.2021
    • 484views
    • 1comment
    1
  • shabarish kumar
    Level 20
    Hyderabad
    Question about the task Calculating salaries
    Java Core, Level 9, Lesson 11
    Under discussion
    Last condition is not passing could anyone help me pleaseLast condition is not passing could anyone help me please
    • 15.05.2020
    • 825views
    • 1comment
    1
  • Hossein Shams
    Level 1
    Atlanta
    Question about the task Introducing tags
    Java Core, Level 9, Lesson 11
    Under discussion
    I think CodeGym hates me!This is 10th time I'm getting the correct answer, even by giving more complicated inputs comparing to CodeGym's example. My code can run over nested HTML, even finds tags nested in another more than once. But it's not getting verified. If there's something specific our code needs to do to be verifi
    • 15.09.2019
    • 1498views
    • 3comments
    1
  • Artur Jarosz
    Level 30
    Lublin
    Question about the task Introducing tags
    Java Core, Level 9, Lesson 11
    Under discussion
    Not sure why can't pass lastHi all, I'm not sure why can't pass last test. When i'm checking it on my computer, everything works just like it should be IMHO. I would appreciate any help. Thanks!
    • 14.12.2019
    • 1148views
    • 1comment
    1
  • Yiheng Niu
    Level 26
    Beijing
    Question about the task Introducing tags
    Java Core, Level 9, Lesson 11
    Under discussion
    My program works for the example, but fails the last verification. Can someone help me please?I have tried several inputs and it works fine. But for some reason, it cannot pass the last verification. Can you give me a little hint, please? Any help will be appreciated!
    • 07.03.2020
    • 1164views
    • 2comments
    1
  • Anthony Chalk
    Level 30
    London
    Question about the task Introducing tags
    Java Core, Level 9, Lesson 11
    Under discussion
    Matches the example output but still failsPlease help
    • 11.02.2020
    • 1062views
    • 3comments
    1
  • Maxim Raitin
    Level 20
    Tomsk
    Question about the task Minimum of N numbers
    Java Syntax, Level 8, Lesson 11
    Resolved
    I don't understand taskI don't understand the requirement: "The getIntegerList() method should read the number N from the keyboard and then return a list of N elements, which has been filled with numbers read from the keyboard.". Ok, but what is it N elements?? How many? I don't understand how many numbers I should type o
    • 19.03.2021
    • 675views
    • 1comment
    1
  • kapil
    Level 12
    delhi
    Question about the task Dividing by zero
    Java Syntax, Level 9, Lesson 11
    Under discussion
    please find the errorit shows error....The divideByZero method must contain a divide-by-zero operation...i have tried a lot with different possibilities but helpless....
    • 09.02.2019
    • 1566views
    • 6comments
    1
  • Thomas
    Level 41
    Bayreuth
    Question about the task Recursion for mathematical expressions
    Java Collections, Level 4, Lesson 2
    Under discussion
    Back at this task againBack here again the second time and still I do not get this task validated. I already took the output formatting from the CG solution but it still does not want to validate. The overall approach is.... -> take the string, run it through the Tokenizer -> a list of tokens is the result -> p
    • 29.03.2023
    • 469views
    • 2comments
    0
  • Nitin Saini
    Level 4
    Question about the task Maximum of entered numbers
    Java Syntax, Level 4, Lesson 5
    Under discussion
    it is showing error in the 15th line please helphelp
    • 29.03.2023
    • 354views
    • 1comment
    2
  • Justin Smith
    Level 41
    Greenfield, USA
    Question about the task Aggregator (part 8)
    Java Collections, Level 8, Lesson 15
    New
    Stuck on requirements 5-9Here is what I have so far: public List<JobPosting> getJobPostings(String searchString) { List<JobPosting> list = new ArrayList<>(); int startValue = 0; Elements jobSearchResultItems; do { Document document = getDocument(searchString, startValue);
    • 29.03.2023
    • 471views
    • 0comments
    0
  • Liliane Top
    Level 24
    Amsterdam
    Question about the task Your own FileWriter
    Java Core, Level 9, Lesson 11
    Resolved
    I passed the test but it is actually not working why?I do not understand why it is not writing to the file while it is writing to the console. Where do I go wrong? package com.codegym.task.task19.task1917; /* Your own FileWriter */ import java.io.*; public class FileConsoleWriter { //1. The FileConsoleWriter class must contain a private File
    • 11.01.2021
    • 522views
    • 4comments
    0
  • IRFAN BAIG
    Level 9
    India
    Question about the task Creating a two-dimensional array
    Java Syntax, Level 6, Lesson 6
    Under discussion
    Not able to pass the last condition not sure why please give me hintNot able to pass the last condition not sure why please provide me suggestion
    • 10.03.2022
    • 696views
    • 1comment
    1
  • Rajiv
    Level 7
    Omaha
    Question about the task Creating a two-dimensional array
    Java Syntax, Level 6, Lesson 6
    Resolved
    Code seems right, but still wont pass validationHi, My code seems right, but it still fails validation, can you please help to point out the error.
    • 04.09.2022
    • 600views
    • 1comment
    1
  • Chrizzly
    Level 12
    Earth
    Question about the task Creating a two-dimensional array
    Java Syntax, Level 5, Lesson 5
    Resolved
    Not sure about the input type and if conditionHey guys, do you know why the input is in String, instead of int? 1) Does it need to be a String here (or could the provide an int, too), or why did Codegym give us Strings instead of ints as input? 2) Is it bad practice to use an if, to check if the number is positive here? 2.1) Why don't we need
    • 04.12.2022
    • 426views
    • 3comments
    1
  • Alex Tor
    Level 31
    Question about the task Creating a two-dimensional array
    Java Syntax, Level 6, Lesson 6
    Resolved
    My solution considered correct and it's solved now, but I don't think so. public class Solution { public static int[][] multiArray; public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int input = scanner.nextInt(); if (input > 0) { int times = input; multiArray = new int[input][];
    • 24.07.2022
    • 736views
    • 5comments
    1
  • Michael Pascua
    Level 14
    United States of America
    Question about the task Car manufacturer
    Java Syntax, Level 13, Lesson 5
    Under discussion
    Why do we use an "initialize method" instead of a constructor. Why do we use an "initialize method" instead of a constructor? At face value, it looks like they both do the same thing.
    • 25.03.2023
    • 342views
    • 2comments
    0
  • Reyaz Ahmad Bhat
    Level 4
    Anantnag Jammu And Kashmir
    Question about the task Comparing strings by reference
    Java Syntax, Level 3, Lesson 9
    Under discussion
    Solution if(string1 == string2){ System.out.println(same); }else{ System.out.println(different); } if(string1 == string3){ System.out.println(same); }else{ System.out.println(different); }
    • 03.03.2023
    • 323views
    • 1comment
    0
  • Nitin Saini
    Level 4
    New
    I am not able to attach my codes to any question for community helpI am not able to do that because when I click on the button of attaching file it is not attaching the file. It is just like that off please help
    • 27.03.2023
    • 284views
    • 0comments
    0
  • Nitin Saini
    Level 4
    Question about the task Comparing strings by reference
    Java Syntax, Level 3, Lesson 9
    Resolved
    why is it showing that appropriate messages are not shownplease help
    • 24.03.2023
    • 473views
    • 1comment
    0
  • Justin Smith
    Level 41
    Greenfield, USA
    Question about the task Aggregator (part 5)
    Java Collections, Level 8, Lesson 15
    New
    The instructions are very confusingIt says "go through all of the providers and collect all their job postings and add them to the list." What list? There is no List object in the Controller class. I thought maybe it meant that the scan() method should return a list? So I wrote it that way: public List<JobPosting> scan() {
    • 25.03.2023
    • 333views
    • 0comments
    0
  • Nika Kopadze
    Level 2
    Question about the task Amigo is very smart
    Java Syntax, Level 1, Lesson 1
    Under discussion
    how can i start the task?
    • 19.02.2023
    • 398views
    • 2comments
    0
  • Mike S
    Level 28
    Saint Louis
    Question about the task Reading and writing to a file: CodeGym
    Java Core, Level 10, Lesson 2
    Under discussion
    What in the heck is up with SimpleDateFormat??I've come across this before I feel like and it was some cause for grief on this exercise. I passed it, but only by doing some workarounds on SimpleDateFormat. Long story short, it doesn't seem to matter what format I type into the SimpleDateFormat(String format) constructor it always produces this
    • 22.03.2023
    • 537views
    • 4comments
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task Phone number verification
    Java Multithreading, Level 2, Lesson 13
    Resolved
    Trying to use regexI've tried testing my code with the examples provided in the conditions and it doesn't work. I'm not sure that I've used the escape characters properly. Also, line 16 if (temp.length() != 10) return false; has a warning "Condition is always true", and I'm not sure why
    • 14.02.2021
    • 956views
    • 5comments
    0
  • Alexandre Lalancette
    Level 41
    Quebec
    Question about the task Stranger things
    Java Core, Level 10, Lesson 2
    Resolved
    I don't understand what is missing in my code?I don't understand what is missing in my code?
    • 18.12.2019
    • 1828views
    • 13comments
    0
  • Thomas Yates
    Level 1
    Question about the task The engine — the heart of the car
    Java Syntax, Level 14, Lesson 2
    Resolved
    The Engine class must have a public void start method that sets the isRunning field to true.I think I'm doing this in my code, but I keep failing the validation shown below:
    • 17.03.2023
    • 439views
    • 2comments
    0
  • Patricia Louise Hernandez
    Level 4
    Question about the task The hard way...
    Java Syntax, Level 3, Lesson 7
    Under discussion
    I cannot see what's wrong with my codeHi, pls help task is not accepting my answer. Pls help me check what's wrong because it says there is something wrong with my code on the "less than 5" part.
    • 17.03.2023
    • 499views
    • 1comment
    0
  • 1
  • ...
  • 26
  • 27
  • 28
  • 29
  • 30
  • ...
  • 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