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
  • 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?
    • 1/23/20
    • 1042views
    • 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
    • 1/21/20
    • 1088views
    • 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();
    • 1/17/20
    • 1901views
    • 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???
    • 1/22/20
    • 983views
    • 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
    • 1/16/20
    • 1213views
    • 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
    • 8/5/19
    • 1910views
    • 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!!
    • 1/22/20
    • 1074views
    • 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
    • 1/22/20
    • 926views
    • 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?
    • 1/22/20
    • 1550views
    • 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
    • 12/13/19
    • 1350views
    • 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"
    • 1/21/20
    • 1030views
    • 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...
    • 1/21/20
    • 1054views
    • 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?
    • 8/9/19
    • 1472views
    • 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 {
    • 1/20/20
    • 1536views
    • 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.
    • 1/21/20
    • 1322views
    • 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
    • 11/15/18
    • 1737views
    • 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/
    • 1/20/20
    • 1089views
    • 2comments
    0
  • Raj Mishra
    Level 2
    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 ?
    • 1/16/20
    • 821views
    • 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.
    • 1/21/20
    • 1089views
    • 1comment
    0
  • leithris
    Level 14
    Poznań
    Question about the task HashSet of plants
    Java Syntax, Level 8, Lesson 3
    Under discussion
    failing to add 10 Stringshey people I need some advice. my program did not meet the third condition in this task. could you help me to solve it? thank you!
    • 1/11/20
    • 1267views
    • 3comments
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task Prices
    Java Core, Level 8, Lesson 11
    Resolved
    Please helpI changed lines 19-35 to: String productID = ""; String productName = reader.readLine(); String productPrice = reader.readLine(); String productQuantity = reader.readLine(); String product = ""; productID = getID(fileName); productName = ful
    • 1/20/20
    • 1122views
    • 17comments
    0
  • Adam S
    Level 22
    Gliwice
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    help me pls with 3rd conditionsomeone pls help, the output is correct and yet it doesn't meet the requirement.
    • 1/19/20
    • 1127views
    • 2comments
    0
  • Joshua
    Level 4
    Sydney
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Been on the problem for a whileHey guys can someone give me a few nudges in the right direction of what im missing with my code here.
    • 1/20/20
    • 1167views
    • 1comment
    0
  • Nikesh
    Level 15
    Delhi
    Question about the task Snake (Part 7/20)
    Games, Level 0, Lesson 1
    Under discussion
    Last two requirements not meetingI have created private Direction direction and setter for it but still last two requirements are not getting fulfilled. Please help.
    • 1/17/20
    • 1461views
    • 12comments
    0
  • yz
    Level 37
    Jakarta
    Question about the task Space (part 13)
    Java Collections, Level 3, Lesson 15
    Resolved
    where is the checkborders method ? thankscant find the method
    • 1/19/20
    • 1155views
    • 3comments
    0
  • Ákos Kovács
    Level 10
    Budapest
    Question about the task Maximum in an array
    Java Syntax, Level 7, Lesson 4
    Under discussion
    The initializeArray method must create an array of 20 integers.I got following message during validation: "The initializeArray method must create an array of 20 integers.", but I created it already.
    • 1/16/20
    • 1027views
    • 2comments
    0
  • Jason
    Level 26
    Rancho Cucamonga
    Question about the task Snake (part 8)
    Java Multithreading, Level 2, Lesson 18
    Resolved
    how am I the only one that doesn't know how to do this?Mentor says "The section list must be initialized in the snake class constructor" I can think of what I am supposed to do for the life of me.
    • 1/19/20
    • 1332views
    • 4comments
    0
  • Joshua
    Level 4
    Sydney
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Under discussion
    "Else" without "if" ?I have tried many implementations of a few different methods for this question... i feel like i've satisfied all the parts of the question. However the compiler is telling me in my last line of code i have an "else" without and "if"... So i cannot check the output. Can someone shed some light on wha
    • 1/19/20
    • 1380views
    • 3comments
    0
  • Thomas
    Level 13
    Scottsdale
    Question about the task Creating a cat
    Java Syntax, Level 5, Lesson 5
    Under discussion
    Ideas ? See error message on compile -- no luck w/ variables assigned or unassigned .... Thanks for the ideas
    • 6/2/19
    • 1681views
    • 4comments
    0
  • Kelvin
    Level 14
    Lagos
    Question about the task Creating a cat
    Java Syntax, Level 5, Lesson 5
    Under discussion
    the keyboard. But am getting an error saying I got input from keyboard I created my Cat class without getting input from
    • 2/1/19
    • 2071views
    • 4comments
    0
  • 1
  • ...
  • 239
  • 240
  • 241
  • 242
  • 243
  • ...
  • 374
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