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
  • Tom ford
    Level 15
    Question about the task Sorting even numbers from a file
    Java Core, Level 3, Lesson 11
    Resolved
    Please help! Too may lines...Can someone provide guidance on what I am doing wrong? I believe that I am reading the file incorrectly but cannot find the solution.
    • 10/31/20
    • 486views
    • 4comments
    0
  • David Haines
    Level 13
    La Crosse
    Question about the task Snake (Part 6/20)
    Games, Level 0, Lesson 1
    Resolved
    could somebody please explain the issue?validation fails with the following error message: The createGame() method must assign the created Snake object to the snake field. Isn't that what line 21 (snake.draw(this);) is supposed to accomplish?
    • 10/30/20
    • 1062views
    • 3comments
    0
  • yesnoyes
    Level 5
    Riga
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Resolved
    why wont it print correctly?package com.codegym.task.task04.task0436; /* Drawing a rectangle */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    • 10/30/20
    • 681views
    • 2comments
    0
  • Pandurang Patil
    Level 3
    kolhapur
    Under discussion
    java screen , out put and stringjava 1page and screen ,out put string not Page please help me
    • 10/31/20
    • 615views
    • 1comment
    0
  • Robby Wagner
    Level 4
    Tempe
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Resolved
    "The displayed text must fully match the task conditions."The output is correct, not sure why this is not passing the last condition. Any help???
    • 7/10/20
    • 1031views
    • 6comments
    0
  • Tom ford
    Level 15
    Question about the task Working with dates
    Java Syntax, Level 8, Lesson 11
    Under discussion
    What is wrong?Code does exactly what is being requested.....
    • 10/30/20
    • 623views
    • 6comments
    0
  • Dinesh
    Level 7
    Delhi
    Under discussion
    ( Lesson 1 Level 4 ) Tried to execute the code snippet on given concept as follows:- But didn`t get how to play with it programmatically"If there are several visible (accessible) variables in our code – say, an instance variable and a local variable – the local variable will be accessed." class Main { public int count = 0; // Declare an instance variable public static void main(String[]args){ Main mn = new Main()
    • 10/30/20
    • 794views
    • 11comments
    0
  • Adam Ondrejkovic
    Level 5
    Copenhagen
    Question about the task Positive number
    Java Syntax, Level 4, Lesson 7
    Under discussion
    Hi what is wrong with my code it works with all inputs that I useif( a > 0){ int count = 1; if( b > 0){ count++; }else if(c > 0){ count++; } System.out.println(count); } if( a <= 0){ int count = 0; if( b > 0){
    • 10/31/20
    • 792views
    • 4comments
    0
  • Pandurang Patil
    Level 3
    kolhapur
    Under discussion
    lesson two not open pleasehelp me too lessen not open
    • 10/31/20
    • 620views
    • 1comment
    0
  • Dinesh
    Level 7
    Delhi
    Under discussion
    javaFX application class must extend javafx.application.Application. I want to know about this stuff how and when to implement this I was trying this piece of code but some how I just forgot to write (String [] args) in main() method It compiled fine. But when tried it to execute it gave the error as follows:-- Error: Main method not found in class Test, please define the main method as public static void m
    • 10/31/20
    • 2099views
    • 2comments
    0
  • Lex Icon
    Level 17
    Sofia
    Question about the task StringHelper class
    Java Syntax, Level 6, Lesson 8
    Resolved
    Despite my code is right, validator doesn't accept my solution. [confirmed in Eclipse]Two questions: 1. Why? 2. Could you give me some indirect tips to let me find the solution out by myself? TY in advance!
    • 10/31/20
    • 730views
    • 2comments
    0
  • Goran
    Level 41
    Belgrade
    Question about the task Iterating through a file tree
    Java Collections, Level 1, Lesson 2
    Archived
    Correct result but not passing :/Can anyone tell me what I did wrong ? Because if I test I am passing...
    • 10/27/20
    • 651views
    • 15comments
    0
  • Denil Pepa
    Level 7
    Munich
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Resolved
    Help?I can't find what is wrong...Can anyone help me?
    • 9/17/20
    • 588views
    • 3comments
    1
  • Alexandre Lalancette
    Level 41
    Quebec
    Question about the task Implement annotations
    Java Collections, Level 8, Lesson 10
    Under discussion
    I'll need some help on that one to make the compiler work!It seems like I can't have a default value for enum field, or is it something else making the program not compile?
    • 2/16/20
    • 1159views
    • 3comments
    2
  • June Sung Park
    Level 41
    Yangp'yong
    Question about the task Exception factory
    Java Collections, Level 8, Lesson 6
    Under discussion
    Can't pass the 5th condition even though the program ran without any error in IntelliJ. CodeGym says, "It looks like the factory method handles the ApplicationExceptionMessage enum incorrectly." Could someone point out what can be corrected to pass the test?
    • 9/5/20
    • 670views
    • 1comment
    2
  • Dinesh
    Level 7
    Delhi
    Under discussion
    Can anybody provide me with crystal clear difference between method's parameter and argument. How both of them work ?
    • 10/30/20
    • 732views
    • 4comments
    0
  • Romain
    Level 26
    Paris
    Resolved
    Minesweeper (Part 14/16) - Où placer la variable score et la méthode setScore() ???je n'arrive vraiment pas à trouver la solution --' package com.codegym.games.minesweeper; import com.codegym.engine.cell.Color; import com.codegym.engine.cell.Game; import java.util.ArrayList; import java.util.List; public class MinesweeperGame extends Game { private static final int SIDE =
    • 10/30/20
    • 850views
    • 8comments
    0
  • yesnoyes
    Level 5
    Riga
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Resolved
    whats the problem ?package com.codegym.task.task04.task0429; /* Positive and negative numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.
    • 10/29/20
    • 892views
    • 8comments
    0
  • Alban
    Level 14
    Kukes
    Question about the task Robot wars
    Java Core, Level 3, Lesson 11
    Under discussion
    Helpp please ?I'm so confused !! What I'm doing wrong
    • 10/30/20
    • 723views
    • 1comment
    0
  • Rafał
    Level 35
    Łódź
    Question about the task Arkanoid (part 13)
    Java Multithreading, Level 3, Lesson 13
    Under discussion
    I have problems with understanding task.Solutions please...
    • 10/5/20
    • 735views
    • 2comments
    0
  • raulGLD
    Level 8
    Cluj-Napoca
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Resolved
    I get the right output, what's wrong?So, I am getting the right output, but I still can't complete task 4. Please tell me why. Thank you!
    • 10/30/20
    • 680views
    • 2comments
    0
  • sourav bamotra
    Level 20
    jammu
    Under discussion
    huh :/why we are provided with solution to all tasks in tip note. Hell no!! all this happening after the new update. Is this happening to everyone, especially who is using the codegym application on android phone.
    • 10/29/20
    • 701views
    • 2comments
    0
  • Cristian
    Level 13
    Ploiesti
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    What's wrong with my code?What's wrong with my code? Thank you in advance! package com.codegym.task.task04.task0427; /* Describing numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new Buffere
    • 10/29/20
    • 794views
    • 2comments
    0
  • Justin Johnson
    Level 31
    Clearwater
    Question about the task Smallest possible radix
    Java Multithreading, Level 10, Lesson 2
    Resolved
    last condition not verifyingI have tried with multiple test inputs and seem to get the correct result. any help would be greatly appreciated. thank you.
    • 10/30/20
    • 650views
    • 9comments
    0
  • shixiaopei
    Level 0
    Tianjin
    Under discussion
    My other account login does not redirectHello, I previously registered an account with my email and upgraded to Level 3. I was suspended for a while due to some things, but recently I cannot log in successfully. The specific situation is that after I entered the previous account and password and clicked "Sign In" when I logged in, the web
    • 10/29/20
    • 725views
    • 2comments
    0
  • David Close
    Level 17
    London
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Under discussion
    The program outputs correctly but criteria not methelp pls
    • 10/29/20
    • 609views
    • 1comment
    0
  • Baurzhan Konurbayev
    Level 40
    Question about the task Prices
    Java Core, Level 8, Lesson 11
    Resolved
    Need some helpHi, Could you please help me to figure out what I am doing wrong here? Test for creation fails, but it works fine when I test it manually. It could be related to String->Double conversion or something else. Please, give some hints what I am missing here. Thank you!
    • 8/14/20
    • 1153views
    • 5comments
    0
  • Dinesh
    Level 7
    Delhi
    Under discussion
    This code is giving unreported exception IO Exception import java.io.*; class BooleanTest{ public static void main(String[]args){ boolean isExit = false; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while (!isExit) { String s = br.readLine(); isExit = s.equals("exit"); } } }
    • 10/29/20
    • 583views
    • 2comments
    0
  • Dinesh
    Level 7
    Delhi
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    Not getting desired output Is there any tool or any way to check the flow control of the program in java, step by step. I often used to get lost in between the code how the flow of the program is working. what should I do for that? When i write any program say just for practice How should I check its flow control ? what is
    • 10/29/20
    • 629views
    • 1comment
    0
  • Maryem Vickers
    Level 7
    HT...
    Question about the task One large array and two small ones
    Java Syntax, Level 7, Lesson 4
    Under discussion
    Hi; I need help.What is wrong?! I have been stuck on this for days.
    • 10/28/20
    • 880views
    • 2comments
    0
  • 1
  • ...
  • 121
  • 122
  • 123
  • 124
  • 125
  • ...
  • 375
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