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
  • rudydesplan
    Level 4
    France
    Question about the task Summation
    Java Syntax, Level 4, Lesson 0
    Under discussion
    solutionpublic class Solution { public static void main(String[] args) { ..............; ..............; // initiate the sum variable to 0. ..............; // create an enter variable used later to compare to the input while (true) { if (..............) {
    • 12.03.2023
    • 312views
    • 0comments
    2
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task Don't take the car to the shop!
    Java Multithreading, Level 5, Lesson 2
    Under discussion
    Where is The Mistake?Please Help
    • 29.05.2019
    • 1678views
    • 11comments
    0
  • Abhishek Rangari
    Level 22
    Nagpur
    Question about the task DownloadException
    Java Core, Level 8, Lesson 5
    Under discussion
    can anyone help me in this task3rd condition is not satisfying..
    • 19.12.2018
    • 1648views
    • 5comments
    0
  • Thomas Yates
    Level 1
    Question about the task Welcome! But not everyone.
    Java Syntax, Level 9, Lesson 2
    Resolved
    The code is outputing the String if username != "user", and exits without returning anything when username = "user". The code still will not pass?see code below:
    • 24.02.2023
    • 291views
    • 3comments
    0
  • Thomas Yates
    Level 1
    Question about the task Binary to hexadecimal converter
    Java Syntax, Level 11, Lesson 1
    Resolved
    I don't understan why the toBinary function will not pass?When I run the verification, I keep failing the 2nd test as shown
    • 10.03.2023
    • 476views
    • 2comments
    0
  • Thomas Yates
    Level 1
    Question about the task Filling an array
    Java Syntax, Level 11, Lesson 5
    Resolved
    Odd array is failing...I keep getting a failed status, even though the visible output seems right. What would be a type of input that would cause this to fail?
    • 10.03.2023
    • 298views
    • 2comments
    0
  • hendra gunawan
    Level 9
    tebing tinggi
    Question about the task You can't have too much of a good thing
    Java Syntax, Level 4, Lesson 4
    Resolved
    I 'm stuck here,please helpplease help...how to make a word looping n time
    • 01.10.2022
    • 469views
    • 2comments
    0
  • Shashank Kumar
    Level 3
    Jakarta
    Question about the task Conscription
    Java Syntax, Level 3, Lesson 3
    Under discussion
    stuck in the last pointhow can we manure it print nothing?
    • 21.12.2022
    • 648views
    • 4comments
    0
  • matemate123
    Level 50
    Kraków
    Question about the task Inverted words
    Java Multithreading, Level 2, Lesson 9
    Resolved
    File Encoding UTF-8Hmm I think alghoritm it's not bad but I'm little tried and maybe I don't see something. When I put input from my coment result is exact, but when I copy from conditions: Example of file contents rat tar tart a a tot tot tot Result is with some squares, I think it's different format, I try I littl
    • 09.03.2023
    • 400views
    • 5comments
    0
  • Jill L
    Level 10
    China
    Question about the task Multiplication table
    Java Syntax, Level 6, Lesson 5
    Under discussion
    Plese Help, don't know what's wrong.It seems to be stuck in an endless loop, I don't know where is causing this problem. 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 .......
    • 25.02.2023
    • 626views
    • 9comments
    0
  • Reyaz Ahmad Bhat
    Level 4
    Anantnag Jammu And Kashmir
    Question about the task Filled rectangle
    Java Syntax, Level 4, Lesson 3
    New
    Solution int n = 0; while (n < 5) { int m = 0; while (m < 10) { System.out.print("Q"); m++; } System.out.println(); n++; }
    • 07.03.2023
    • 237views
    • 0comments
    0
  • Vijay Anand Bukkuri
    Level 2
    Suri
    Question about the task "I'm here about the job..."
    Java Syntax, Level 2, Lesson 0
    New
    declare intValue, numericValue, size,and numberint intValue=1, how? int numericValue=17, how? int size=8, how? int number=22, how? explain?
    • 07.03.2023
    • 257views
    • 0comments
    0
  • Mike S
    Level 28
    Saint Louis
    Question about the task Picking out numbers
    Java Core, Level 9, Lesson 5
    Resolved
    Correct Output, But No Pass : /This is so aggravating after having spent so much time to just get the output correct. Anyone have any tips here? I've played around with the trailing spaces and nothng works.
    • 28.02.2023
    • 296views
    • 4comments
    0
  • Reyaz Ahmad Bhat
    Level 4
    Anantnag Jammu And Kashmir
    Question about the task Broken keyboard
    Java Syntax, Level 3, Lesson 9
    Under discussion
    Solution Scanner sc = new Scanner(System.in); String str = sc.nextLine(); if(str.equalsIgnoreCase(secret ) == true){ System.out.println("Access granted"); }else { System.out.println("Access denied"); }
    • 03.03.2023
    • 290views
    • 0comments
    0
  • Reyaz Ahmad Bhat
    Level 4
    Anantnag Jammu And Kashmir
    Question about the task I'll never work for peanuts
    Java Syntax, Level 4, Lesson 3
    Under discussion
    Solution int n = 1; while(n < 101){ System.out.println(quote); n++; }
    • 03.03.2023
    • 294views
    • 0comments
    0
  • Reyaz Ahmad Bhat
    Level 4
    Anantnag Jammu And Kashmir
    Question about the task Everyone wants to be loved
    Java Syntax, Level 4, Lesson 3
    Under discussion
    Solution Scanner sc = new Scanner(System.in); String str = sc.nextLine(); int i = 0; while(i < 10){ System.out.println(str+" "+text); i++; }
    • 03.03.2023
    • 273views
    • 0comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Maximum byte
    Java Core, Level 8, Lesson 3
    Under discussion
    Help me plsI cant understand
    • 28.06.2019
    • 1245views
    • 4comments
    0
  • alberto weber
    Level 28
    Poland
    Question about the task Minesweeper (Part 2/16)
    Games, Level 0, Lesson 0
    Resolved
    Problem with buildHi i have a problem with building my game. When i try to i get this error: C:\Users\User_PC\Downloads\CodeGymTasks\8.Games\src\com\codegym\games\minesweeper\MinesweeperGame.java:5:8 java: cannot access javafx.application.Application class file for javafx.application.Application not found i tri
    • 18.02.2023
    • 280views
    • 3comments
    0
  • Nitin Pawar
    Level 27
    Mumbai
    Question about the task Countdown at the races
    Java Core, Level 6, Lesson 10
    Under discussion
    Can someone please help here ?help
    • 20.12.2019
    • 1650views
    • 7comments
    2
  • Hoist
    Level 4
    San Diego
    Question about the task Minesweeper (Part 1/16)
    Games, Level 0, Lesson 0
    Under discussion
    Why is Mine Sweeper Game Still Failing > Ideas ? See attached -- run in both IntelliJ and the basic codegym IDE package com.codegym.games.minesweeper; import com.codegym.engine.cell.*; // using the CodeGym game engine (above); create a // new Class that inherits the Game Class engine (com.codegym.engine.cell.Game) public class MineSweeperGame extends Game { // declare a method - a function - in Class
    • 19.02.2023
    • 701views
    • 4comments
    0
  • Liliane Top
    Level 17
    Amsterdam
    Question about the task Neo
    Java Core, Level 3, Lesson 11
    Resolved
    How does this work?two questions: 1) how to return a valid User object. It seems that the code does that but fail the test why? 2)The initializeIdAndName method must set the id and name fields using the arguments passed to it. which it does and yet I fail the test why?
    • 15.03.2020
    • 1155views
    • 3comments
    1
  • Stefan Craia
    Level 15
    Bucharest
    Question about the task Writing to a file from the console
    Java Core, Level 3, Lesson 11
    Under discussion
    It work but, i get this "The program must write absolutely all of the entered lines (including "exit") to the file, each on a new line."package com.codegym.task.task13.task1319; import jdk.nashorn.internal.runtime.ECMAException; import java.io.*; /* Writing to a file from the console */ public class Solution { public static void main(String[] args) { BufferedReader reader = new BufferedReader(new InputStreamReader(
    • 01.10.2019
    • 1503views
    • 3comments
    1
  • Raj Mishra
    Level 15
    India
    Question about the task Writing to a file from the console
    Java Core, Level 3, Lesson 11
    Under discussion
    Why the case is failingMy code is working fine where I am writing everything into the file including exit. Then why so its failing?
    • 15.06.2021
    • 509views
    • 1comment
    1
  • shilpa keshri
    Level 15
    Mumbai
    Question about the task Reading a file
    Java Core, Level 3, Lesson 11
    Archived
    file reading...the error is program displays too many errors...
    • 30.03.2019
    • 1857views
    • 7comments
    1
  • Liliane Top
    Level 17
    Amsterdam
    Question about the task Parameterized interface
    Java Core, Level 3, Lesson 2
    Resolved
    What is requestedI do not understand the question. Can someone please explain to me what we are suppose to do here? The question is not clear at all.
    • 07.03.2020
    • 1474views
    • 12comments
    1
  • shovan
    Level 22
    Kolkata
    Question about the task Parameterized interface
    Java Core, Level 3, Lesson 2
    Resolved
    please helphow to use string parameter in the interface implementation???
    • 11.06.2019
    • 2078views
    • 3comments
    1
  • AlfredW
    Level 23
    Denver
    Question about the task SimpleObject interface
    Java Core, Level 3, Lesson 11
    Under discussion
    Ha ha I am completely clueless as to why this wont verify.Ha ha I am completely clueless as to why this wont verify.
    • 04.08.2020
    • 626views
    • 3comments
    1
  • Pac-w
    Level 22
    Question about the task Countdown at the races
    Java Core, Level 6, Lesson 10
    Under discussion
    Thread interruption I don't a get question i guess, because numSeconds never will be equals to 4. Please, help me to find solution for this task and tell me why it's not valid answer.
    • 28.09.2021
    • 416views
    • 3comments
    1
  • jajaceek
    Level 23
    Warszawa
    Question about the task Countdown at the races
    Java Core, Level 6, Lesson 10
    Resolved
    Where is the problem? During Run is ok but during verification is not ok.I don't know where is the problem. When I check by Run - the program prints "3 2 1 0 Go!" but during the verification its prints only "3 2 1 0" and i don't know how to solve the problem.
    • 29.02.2020
    • 936views
    • 1comment
    1
  • Jyothi
    Level 20
    Question about the task Countdown at the races
    Java Core, Level 6, Lesson 10
    Resolved
    task16.task1617 - Countdown at the racesValidation failing for race clock countdown by 1. cannot see where the problem is.
    • 24.12.2018
    • 1862views
    • 5comments
    1
  • 1
  • ...
  • 27
  • 28
  • 29
  • 30
  • 31
  • ...
  • 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