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
  • Andrei
    Level 26
    Liverpool
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Resolved
    Could You help me, Guys. I give up.package com.codegym.task.task05.task0507; /* Arithmetic mean
    • 24.01.2020
    • 1212views
    • 4comments
    0
  • Stefan Maric
    Level 22
    Frankfurt
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Wrong spelling message?Hi guys, After running the code I am getting message "Carefully check the displayed text. It looks like you made a typo or forgot to add 1000.". Can someone help me to solve this, because I am getting correct result.
    • 20.01.2020
    • 1234views
    • 3comments
    0
  • Ailin
    Level 3
    Saint Louis
    Question about the task Minesweeper (Part 7/16)
    Games, Level 0, Lesson 0
    Resolved
    Why is it not working?I'm declaring the isOpen boolean in the public MinesweeperGame class and it's not working at line 80! And if you find anything else that is wrong or missing then pls help!
    • 24.01.2020
    • 945views
    • 0comments
    1
  • S V Aditya
    Level 4
    Delhi
    Question about the task Snake (Part 1/20)
    Games, Level 0, Lesson 1
    Resolved
    Why isn't my import working?I get this error: com/codegym/games/snake/part01/SnakeGame.java:2: error: package com.codegym.engines.cell does not exist import com.codegym.engines.cell.*; Is this path wrong?
    • 31.10.2019
    • 1813views
    • 3comments
    0
  • Džemal
    Level 11
    Tuzla
    Question about the task Drawing lines
    Java Syntax, Level 4, Lesson 13
    Under discussion
    A program should display a vertical line of 10 eights public class Solution { public static void main(String[] args) throws Exception { for(int i = 1; i <= 10; i++) { for(int j = 1; j <= 10; j++) { System.out.print("8"); } System.out.println(); } } }
    • 16.06.2019
    • 3356views
    • 2comments
    0
  • Jeremy Hornick
    Level 16
    Question about the task Snake (Part 17/20)
    Games, Level 0, Lesson 1
    Resolved
    Verification is failing and I don't think it shouldI'm failing the task with this error: The onKeyPress(Key) method must call the createGame() method if the passed argument is Key.SPACE and the game is stopped (isGameStopped == true). Be sure that the onKeyPress(Key) method calls the createGame() method if the SPACE bar was pressed and isGameStoppe
    • 09.08.2019
    • 1261views
    • 1comment
    1
  • Jacek
    Level 4
    Warsaw
    Resolved
    Results are correct but exercise is not passedHi, I need a little help with this. My program works correctly, but I can't pass this exercise. Do you know where is "mistake"? package pl.codegym.task.task07.task0703; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; class Exercice { public static voi
    • 22.01.2020
    • 1331views
    • 3comments
    0
  • Adam Maichrzik
    Level 22
    Katowice
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    I don't get it. When I run the program everything is working.Hello. As I said in the title. Imho everything should work, when I am testing it, the program show the shortest string. Can someone look at my code and try to help me understanding the problem?
    • 23.01.2020
    • 1460views
    • 3comments
    0
  • MaGaby2280
    Level 41
    Guatemala City
    Question about the task One for all, all for one
    Java Core, Level 6, Lesson 10
    Resolved
    Help with understanding why the threads won´t stop!!!A little help needed!!! I have been trying to figure this out for hours... could someone help me figure out why the outInterrupt(); method won´t stop the threads? Thank you!!!
    • 22.01.2020
    • 1091views
    • 5comments
    0
  • Pedzi
    Level 22
    Cape Town
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Help help helpMy code seems to be giving the required screen output and satisfying all the conditions required but somehow the test fails....please help...what am I missing
    • 09.01.2020
    • 1244views
    • 3comments
    0
  • Bartuswislak
    Level 16
    Cracow
    Under discussion
    Bug in polish version - task date 09 lvl 11 lessonpackage pl.codegym.task.task09.task0922; import java.io.BufferedReader; import java.io.InputStreamReader; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; /* Jaka dzisiaj jest data? */ public class Solution { public static void main(String[] args) throws Exc
    • 22.01.2020
    • 965views
    • 1comment
    0
  • 4dy
    Level 3
    Regensburg
    Under discussion
    Warum kann ich unter Level 1 noch keine (String)Listen erstellen und diese dann mit einer Schleife durchlaufen?Die automatische Code-Vervollständigung findet keine Funktion wie z.B. length() oder add(). Woran liegt das?
    • 23.01.2020
    • 862views
    • 1comment
    0
  • krystian
    Level 9
    Kozle
    Question about the task Flip the array
    Java Syntax, Level 7, Lesson 4
    Under discussion
    Any hints here? public class Solution { public static void main(String[] args) throws Exception { Sca
    • 21.01.2020
    • 911views
    • 2comments
    0
  • Tonatiuh
    Level 12
    Mexico
    Question about the task Snake (Part 14/20)
    Games, Level 0, Lesson 1
    Resolved
    Help please. I can't pass the last condition, whats wrong?Hi. I can't pass the last condition. I've tried many different ideas but don't undersand whats wrong with the move(Apple) method or the checkCollision(GameObject) method in the Snake class. Could somebody help me please? public void move(Apple apple){ GameObject head = createNewHead();
    • 17.01.2020
    • 1710views
    • 6comments
    1
  • arun et
    Level 11
    Chennai
    Question about the task Working with dates
    Java Syntax, Level 8, Lesson 11
    Under discussion
    I get the Result exactly right, but its not passing all the requirements....This code works fine, but not passing the Requirements why???
    • 22.01.2020
    • 851views
    • 1comment
    0
  • null
    Level 26
    Orlando
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Resolved
    I have out of bound issue. still trying to figure out how to fix. please help
    • 16.01.2020
    • 1069views
    • 3comments
    0
  • Lex Medeiros
    Level 18
    San Jose
    Question about the task Reversing a file
    Java Core, Level 8, Lesson 5
    Under discussion
    Using Collections to Reverse the Byte[] OrderHi, I am using collections to reverse the order but it does not seem to work. Could you tell me what I am doing wrong. Thanks, Alex
    • 05.08.2019
    • 1774views
    • 1comment
    1
  • Alban
    Level 14
    Kukes
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    What is wrong please help?helpp!!
    • 22.01.2020
    • 950views
    • 1comment
    0
  • Andrew
    Level 8
    Quincy
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Under discussion
    Why is this code not working? It seems to make sense in my head but I'm not sure why it's throwing out incorrect resultasdf
    • 22.01.2020
    • 812views
    • 1comment
    0
  • Nicholas Grube
    Level 41
    Carrollton, TX
    Question about the task Reading and writing to a file: CodeGym
    Java Core, Level 10, Lesson 2
    Resolved
    Where Is The Exception?The validation says I need to check the exceptions in the save/load methods, but I don't see any? Can anyone help me figure out where the exceptions are coming from?
    • 22.01.2020
    • 1405views
    • 2comments
    0
  • Vaibhavi
    Level 5
    Vijayawada
    Question about the task Triangle of eights
    Java Syntax, Level 4, Lesson 13
    Resolved
    please help..!!height problem not 10 lines it say
    • 13.12.2019
    • 1236views
    • 5comments
    1
  • Carlos Cortázar
    Level 17
    Madrid
    Question about the task GCD
    Java Core, Level 4, Lesson 8
    Under discussion
    It works fine, but verificationIt works but does not pass the check for "there seems to be an infinite loop"
    • 21.01.2020
    • 897views
    • 4comments
    0
  • Marta
    Level 19
    Gdansk
    Question about the task Building a file
    Java Core, Level 8, Lesson 11
    Resolved
    It seems ok but it's not...It's probably some stupid little think but i don't see it. Please help...
    • 21.01.2020
    • 916views
    • 3comments
    0
  • Nicolas Huet
    Level 41
    Provins
    Question about the task Build a WHERE query
    Java Multithreading, Level 2, Lesson 9
    Under discussion
    Hello, after some testing, it seems to match the conditions but it doesn't validateI surely miss something but when I test it out with a map I create it seems to work correctly. Any ideas?
    • 09.08.2019
    • 1350views
    • 4comments
    0
  • krystian
    Level 9
    Kozle
    Question about the task Ascending numbers
    Java Syntax, Level 6, Lesson 11
    Under discussion
    Any hints? public class Solution { public static void main(String[] args) throws Exception {
    • 20.01.2020
    • 1428views
    • 2comments
    0
  • Mikayla Pace
    Level 27
    Salt Lake City
    Question about the task Inverted words
    Java Multithreading, Level 2, Lesson 9
    Resolved
    Why isn't it adding a to the result list?The loop isn't adding a to the result list, not sure why.
    • 21.01.2020
    • 1169views
    • 2comments
    0
  • Radek
    Level 22
    Warsaw
    Question about the task ABCs
    Java Core, Level 8, Lesson 11
    Resolved
    How to pass the validationIm counting using Character.isAlphabetic with the same negative rasult as for Character.isLetter method. I have tested the solution. it counts only letters and results are ok. Why in cannot pass the validation? import java.io.FileInputStream; public class Solution { public static void main(Str
    • 15.11.2018
    • 1609views
    • 4comments
    0
  • Yana
    Level 13
    Lviv
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Resolved
    What's wrong with it?Output seems to be correct. Help please/
    • 20.01.2020
    • 947views
    • 2comments
    0
  • Raj Mishra
    Level 15
    India
    Question about the task Remove and insert
    Java Syntax, Level 7, Lesson 6
    Under discussion
    Could not detect the error. Pls helpI am unable to find the error . Could any one please help ?
    • 16.01.2020
    • 711views
    • 3comments
    0
  • Pedro Antonio Mendéz Gutiérrez
    Level 6
    Crown Point
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Resolved
    Cannot figure out this question?It is failing at the last two requirements. At this point I have tried 50 variations of the code so I am getting lost further. Please help.
    • 21.01.2020
    • 970views
    • 1comment
    0
  • 1
  • ...
  • 236
  • 237
  • 238
  • 239
  • 240
  • ...
  • 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