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
  • Ilia Kalugin
    Level 25
    Novara
    Question about the task Minesweeper (Part 5/16)
    Games, Level 0, Lesson 0
    Resolved
    Verification of the penultimate item failsBe sure that a mine is created with a probability of 10%. Whats wrong in my code?
    • 24.09.2020
    • 634views
    • 4comments
    0
  • Tiko hakobyan
    Level 20
    Yerevan
    Question about the task One for all, all for one
    Java Core, Level 6, Lesson 10
    Resolved
    am i missing something? first requirement wont pass.
    • 04.07.2020
    • 612views
    • 4comments
    2
  • Baljinder Singh
    Level 20
    Toronto
    Question about the task No interrupt, no dice?
    Java Core, Level 6, Lesson 10
    Under discussion
    Give me a hint, how to interrupt without using interrupt()
    • 29.10.2018
    • 1787views
    • 6comments
    0
  • matemate123
    Level 50
    Kraków
    Question about the task Reading a file
    Java Core, Level 3, Lesson 11
    Resolved
    And now I pass 4 condition but 3 is now on red.This topic with streams is so unclear, vague. I sit on this task but how I could do?
    • 28.12.2022
    • 527views
    • 2comments
    0
  • Gummy C
    Level 11
    United States of America
    Question about the task Remove duplicate strings
    Java Syntax, Level 5, Lesson 3
    Under discussion
    I know I am asking a lot Hi all, I know that I am asking a lot. But, I was able to get the code working, however, I do not really understand how it is working. So, my thought process went something like this. 1. We make an array with 6 elements. 2. We take the user's input and store it in each index. 3. We create a loop
    • 29.12.2022
    • 448views
    • 2comments
    0
  • yashwanth j v
    Level 1
    Jakarta
    Under discussion
    java code construction of decoder in digital electronics
    • 29.12.2022
    • 292views
    • 0comments
    0
  • Jurij Thmsn
    Level 29
    Flensburg
    Question about the task Arkanoid (part 8)
    Java Multithreading, Level 3, Lesson 13
    Resolved
    why Math.max(...)?I already solved the task. I get how and why we calculate the distance between two points - but I don't understand one given part of the code: why we check if the distance is less than the bigger radius of the two objects? Shouldn't we check if the distance is less than the both radiuses added tog
    • 19.10.2021
    • 548views
    • 1comment
    1
  • Gummy C
    Level 11
    United States of America
    Question about the task Even and odd cells of an array
    Java Syntax, Level 5, Lesson 0
    Under discussion
    What is wrong with my code?I ran the code and it shows the correct solution. I am not sure what is wrong with it
    • 28.12.2022
    • 305views
    • 6comments
    0
  • EDDIE SANCALA JR
    Level 6
    Caraga DAVAO ORIENTAL
    Question about the task Even and odd cells of an array
    Java Syntax, Level 5, Lesson 0
    New
    Solution package en.codegym.task.pro.task05.task0502; /* Even and odd cells of an array */ public class Solution { public static final String ODD = "Odd"; public static final String EVEN = "Even"; public static String[] strings = new String[5]; public static void main(String[] args) {
    • 27.12.2022
    • 204views
    • 0comments
    0
  • matemate123
    Level 50
    Kraków
    Question about the task Reading a file
    Java Core, Level 3, Lesson 11
    Under discussion
    The BufferedReader must also be closed.But I closed it. I was reading other people problem with this task , and I don't understand whats going on with this closing stream. Please some hint.
    • 27.12.2022
    • 310views
    • 1comment
    0
  • Gummy C
    Level 11
    United States of America
    Under discussion
    What is wrong with my code. It is printing the frame but I am getting an extra B on the side. int a=0; while(a<10){ int b=0; if(a ==0 || a==9){ while(b<20){ b++; System.out.print("B"); } }else{ System.out.println("B B"); } a++; }
    • 27.12.2022
    • 251views
    • 0comments
    0
  • slyyx
    Level 15
    New York City
    Question about the task Snake (Part 6/20)
    Games, Level 0, Lesson 1
    Resolved
    Error says there are no arguments in the Snake constructor?Getting the following error: com/codegym/games/snake/part06/Snake.java:12: error: constructor GameObject in class com.codegym.games.snake.part06.GameObject cannot be applied to given types; public Snake(int x, int y){ ^ required: int,int found: no arguments
    • 19.07.2020
    • 950views
    • 1comment
    0
  • Dustin Lerch
    Level 9
    United States of America
    Question about the task Minesweeper (Part 3/16)
    Games, Level 0, Lesson 0
    New
    What is this ??? I just want the game to launch. (LINUX)Can anyone provide some advice ? I didnt do anything with task 3 yet because I dont want to continue until i can figure out how to launch this game via linux OS /home/dustinlerch/.jdks/corretto-1.8.0_352/bin/java -javaagent:/home/dustinlerch/idea-IC-221.5080.210/lib/idea_rt.jar=44107:/home/dustinle
    • 24.12.2022
    • 320views
    • 0comments
    0
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task Big Ben
    Java Core, Level 6, Lesson 7
    Under discussion
    How to implement 24 hour format?need help
    • 27.02.2019
    • 1857views
    • 5comments
    0
  • Jaime Padilla
    Level 41
    Chandler
    Question about the task Long words
    Java Core, Level 9, Lesson 11
    Resolved
    What's wrong here?What's wrong here? I've tried many different solutions and for some reason it won't pass. Why?
    • 20.12.2022
    • 350views
    • 1comment
    0
  • Dustin Lerch
    Level 9
    United States of America
    Question about the task Correct order
    Java Syntax, Level 7, Lesson 2
    Under discussion
    why isnt my code acceptedi changed the original array? it printed only two lines? what do you want from me lol?
    • 20.12.2022
    • 356views
    • 1comment
    0
  • hendra gunawan
    Level 9
    tebing tinggi
    Question about the task Chess board
    Java Syntax, Level 6, Lesson 5
    Resolved
    please help ....I'm stuck in the second and the third point....how to initialized with the appropriate sized and outlined with the task condition.....
    • 20.12.2022
    • 384views
    • 0comments
    0
  • Liliane Top
    Level 17
    Amsterdam
    Question about the task Incorrect lines
    Java Core, Level 3, Lesson 11
    Resolved
    Why do we need to declare the method with String type?I do not understand why we need to declare the String type with the method onPress() and parameter Object o. It works perfectly fine without it so why do we have to insert this additional code?
    • 14.03.2020
    • 1060views
    • 1comment
    1
  • Sal
    Level 5
    Under discussion
    Where is the problem?Can anyone help me to spot the problem with my code? because when I run it, it keeps displaying the smallest number from the input, not the second smallest one. I would really appreciate it 🙏
    • 18.12.2022
    • 320views
    • 1comment
    0
  • Justin Smith
    Level 41
    Greenfield, USA
    Question about the task Mastering ClassLoader and Reflection
    Java Collections, Level 6, Lesson 10
    Under discussion
    Need some help understanding ClassLoaderWhen I use a statement like: classLoader.loadClass() What String am I putting inside the parentheses? Is it: 1. The full absolute path to the class file? 2. A relative path to the class file (dependent on where the ClassLoader is made)? 3. Just the file name of the class? 4. Just the class name?
    • 16.12.2022
    • 322views
    • 0comments
    0
  • Dustin Lerch
    Level 9
    United States of America
    Question about the task Chess board
    Java Syntax, Level 6, Lesson 5
    Under discussion
    The array must be filled as outlined in the task conditions.What does this meaaaaan? I'm so lost on this one.
    • 15.12.2022
    • 341views
    • 3comments
    0
  • yz
    Level 37
    Jakarta
    Question about the task Find the class by its description
    Java Collections, Level 6, Lesson 6
    Resolved
    anyone did this )????
    • 12.04.2020
    • 1118views
    • 6comments
    2
  • Hruthish
    Level 1
    Bangalore
    Question about the task 2048 (Part 1/18)
    Games, Level 0, Lesson 2
    Under discussion
    practice code?how to practice Code?
    • 15.12.2022
    • 362views
    • 2comments
    0
  • Justin Smith
    Level 41
    Greenfield, USA
    Question about the task Using TreeSet
    Java Collections, Level 6, Lesson 8
    Under discussion
    Example outputs don't match task conditionsThey say that only unique letters should be printed out. And that lower and upper case letters are treated as the same thing. However... In the conditions file, they give two example inputs and outputs. If the input text is "zBk yaz b-kN", then they say the output should be "abkny". However b and k
    • 13.12.2022
    • 287views
    • 0comments
    0
  • Asanga Costa
    Level 2
    Zurich
    Under discussion
    Starting over?Dear all, I've progressed to about level 2 but had to stop for a while. Now I have forgotten most of what I had learnt and want to start all over again. Is it possible to do that? Or do I need to create a new login name? Thank you in advance for any feedback. Regards Asanga
    • 12.08.2019
    • 1452views
    • 2comments
    1
  • TonySD #10964130
    Level 24
    Russia
    Under discussion
    Plugin OutdatedAfter click on "Select a task", Intellij IDEA alarms that plugin outdated. If i press "update", it's restarting and still alarms
    • 19.09.2022
    • 699views
    • 2comments
    3
  • 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()
    • 09.12.2022
    • 653views
    • 3comments
    0
  • Kristian Kelij
    Level 18
    New
    Completed AP Java Exam Lite, problem with dark matterHi guys, I´ve completed AP Java Exam Lite, first 15 levels and now when I want to continue to Java Core I have to spend instead of 1 Dark matter 11. Is it okey ? What I have to do ?
    • 11.12.2022
    • 321views
    • 0comments
    0
  • Norbert
    Level 41
    Kielce
    Question about the task CashMachine (part 9)
    Java Collections, Level 9, Lesson 15
    Resolved
    Why the InterruptedOperationException is still an errorI remove abstract from the InterruptedOperationException.
    • 11.12.2022
    • 345views
    • 1comment
    0
  • Mark Beattie
    Level 13
    Oshawa
    Question about the task Exceptions. Just exceptions.
    Java Syntax, Level 9, Lesson 8
    Under discussion
    In IntelliJ IDEA my task verification request comes back with Unknown Error during task verification.I attempted to run my solution from the browser but was told the following: This task cannot be run on the CodeGym server. Use IntelliJ IDEA. I tried it on IntelliJ, and can run the task. When trying to get it verified, I get the message saying 'Unknown error during task verification" Went back t
    • 24.11.2022
    • 292views
    • 2comments
    0
  • 1
  • ...
  • 33
  • 34
  • 35
  • 36
  • 37
  • ...
  • 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