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
  • Naughtless
    Level 41
    Olympus Mons
    Resolved
    Use Interface or Class when instancing? Why?As my very small and insignificant library of knowledge on Java grows, I've come across a question: Why is it that sometimes people instance by interface like : List<Object> someList = new ArrayList<>(); /* OR */ Animal minnie = new Cat(); instead of just instancing by the class itse
    • 02.06.2021
    • 631views
    • 13comments
    2
  • Zach
    Level 22
    Fort Collins
    Question about the task Moon Lander (Part 4/23)
    Games, Level 0, Lesson 4
    Under discussion
    The last task is not passing? package com.codegym.games.moonlander; public class Rocket extends GameObject { public Rocket (double x, double y, int[][] matrix) { super(x, y, ShapeMatrix.ROCKET); } }
    • 22.05.2021
    • 564views
    • 1comment
    0
  • Vidya Pb
    Level 5
    Ernakulam
    Question about the task Snake (Part 5/20)
    Games, Level 0, Lesson 1
    Under discussion
    Why is this error coming? What am I doing wrong with the ArrayList?cannot find symbol symbol: class List location: class com.codegym.games.snake.part05.Snake. file com/codegym/games/snake/part05/Snake.java, line 6, position 100 GameObject.java Apple.java Snake.java SnakeGame.java
    • 01.11.2019
    • 1716views
    • 2comments
    1
  • Raimundo Hernandez
    Level 2
    Under discussion
    why the level 2 tasks do not appear?I get the level 2, but the tasks do not appear, what could be the error?
    • 04.06.2021
    • 414views
    • 1comment
    0
  • Daniel
    Level 41
    Rybnik
    Question about the task Adding a file to an archive
    Java Collections, Level 1, Lesson 6
    Under discussion
    All requirements are failed but locally works!Hi, I know my solution may be not the most efficient but it works! Is there any bug that makes all requirements fail ? Something like System.exit() ? Any help would be appreciated!
    • 03.06.2021
    • 522views
    • 2comments
    0
  • Zach
    Level 22
    Fort Collins
    Question about the task Let's make the code do something useful!
    Java Syntax, Level 9, Lesson 11
    Under discussion
    Cannot get the third task to pass.I do not get this question at all....
    • 03.06.2021
    • 370views
    • 1comment
    0
  • Artur
    Level 22
    Moorends
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Resolved
    keep having 0 ain't positive nor negative errorDid i miss something in my code? i have made it clear that if it is 0 to not count not to positive nor negative but still get the error :/
    • 08.06.2020
    • 782views
    • 5comments
    0
  • Zach
    Level 22
    Fort Collins
    Question about the task Let's make the code do something useful!
    Java Syntax, Level 9, Lesson 11
    Under discussion
    Not sure where I am going wrong on second task?I don't know what is wrong with code.
    • 02.06.2021
    • 492views
    • 1comment
    0
  • Murshid Saleem
    Level 0
    Question about the task Amigo is very smart
    Java Syntax, Level 0, Lesson 2
    Under discussion
    need some helpI am still trying to figure out what and how exactly to complete this task. newbie here
    • 02.06.2021
    • 596views
    • 1comment
    0
  • John
    Level 17
    Mansfield
    Question about the task Chicken factory
    Java Core, Level 4, Lesson 6
    Under discussion
    cannot find symbol method getDescription ()why can't i call super.getDescription?
    • 02.06.2021
    • 461views
    • 4comments
    0
  • Daniel
    Level 41
    Rybnik
    Question about the task What's in the folder?
    Java Collections, Level 1, Lesson 4
    Under discussion
    Need helpI think I need some help! Locally this code works great and exactly how it scholuld according to task conditions. Any advices ? hints ?
    • 02.06.2021
    • 529views
    • 3comments
    0
  • Patrick Batterfly
    Level 17
    Livny
    Question about the task Kind Emma and the summer holidays
    Java Syntax, Level 8, Lesson 8
    Resolved
    Please, I need helpI don't know why this doesn't work. I even tried to change comparison sign to another sides, but it still didn't help to move on. Please, tell me what i did wrong
    • 02.06.2021
    • 556views
    • 7comments
    0
  • Gellert Varga
    Level 23
    Szekesfehervar
    Question about the task Chicken factory
    Java Core, Level 4, Lesson 6
    Resolved
    I don't understand why not met 5. and 6. requirementsAfter many attempts, I don’t understand why it always reject requirements 5 and 6. Maybe I didn’t well understand something from the requirements, I don’t know. The program seems to be working.
    • 19.02.2021
    • 684views
    • 7comments
    0
  • Daisy
    Level 8
    San Jose
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Help Please!error: invalid method declaration; return type required printList(number1);
    • 02.06.2021
    • 651views
    • 1comment
    0
  • Hisham Thabet
    Level 8
    Lahj
    Resolved
    The program won't compile! .also, I can't understand what the Codegym say "If we add a cat to a number, there is no automatic string conversion" can you explain for me? Thank you Cat cat = new Cat(); int a = 5; String text = cat + a + "The cat is " + cat + a;
    • 01.06.2021
    • 602views
    • 2comments
    0
  • Anonymous #10749591
    Level 3
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Under discussion
    How is it wrong. I wrote just as hinted. (9/5) first - the answer was wrong. then remove the bracket as in 9/5. again the last condition was unapproved because the answer was wrong. Then I wrote 9/5.0 as per the solution and only then was the answer right.
    • 01.06.2021
    • 584views
    • 1comment
    0
  • Manav Dhote
    Level 0
    bhopal
    Under discussion
    languagehow can I change language
    • 25.04.2020
    • 806views
    • 2comments
    1
  • Zach
    Level 22
    Fort Collins
    Question about the task Most frequent bytes
    Java Core, Level 8, Lesson 3
    Under discussion
    The error I'm getting is: Don't display the same byte several times. ???How is it giving me this error? I even changed my output to a set so there shouldn't be any duplicates. Although the map should have solved this already. Thanks
    • 01.06.2021
    • 574views
    • 1comment
    0
  • Akash sah
    Level 8
    Kathmandu
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Under discussion
    what is wrong in this code?i tried new line but not works
    • 08.02.2019
    • 2024views
    • 7comments
    0
  • Maxim Raitin
    Level 20
    Tomsk
    Question about the task Consecutive threads
    Java Core, Level 6, Lesson 13
    Under discussion
    volatile - what is this?Why we need volatile in variables?
    • 01.06.2021
    • 551views
    • 1comment
    0
  • Dwight Burrow
    Level 3
    Minnetonka
    Question about the task Square of a number
    Java Syntax, Level 1, Lesson 8
    Under discussion
    Did I miss something?I'm not sure I learned anything about sqr(). I don't know anything about it or how it works or where I put it.
    • 05.05.2021
    • 643views
    • 3comments
    0
  • Patrick Batterfly
    Level 17
    Livny
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Resolved
    Guys,please, tell me what's wrong with my code All conditions are met, but somehow the last requirement doesn't count. What's the issue?
    • 31.05.2021
    • 453views
    • 4comments
    0
  • Sansho
    Level 19
    Bordeaux
    Question about the task Request parser
    Java Core, Level 5, Lesson 12
    Under discussion
    [3rd req. X ] My outputs are corrects, but the Robot is tellin' me nooOOooOOOoWell, I don't understand in which case I'm wrong, even when I test with a custom link...
    • 27.05.2021
    • 620views
    • 9comments
    0
  • Manoj Deo
    Level 3
    Mumbai
    Question about the task I'm 15 again!
    Java Syntax, Level 1, Lesson 4
    Under discussion
    ??whATS WRONG
    • 20.10.2018
    • 1217views
    • 4comments
    0
  • iqbalhussain
    Level 22
    Peshawar
    Question about the task How do you serialize Singleton?
    Java Core, Level 10, Lesson 4
    Resolved
    need help last condition is not satisfiedneed help last condition is not satisfied
    • 27.01.2019
    • 1629views
    • 4comments
    0
  • John
    Level 17
    Mansfield
    Question about the task Sorting even numbers from a file
    Java Core, Level 3, Lesson 11
    Under discussion
    Program displays too many linesAnybody knows whats wrong?
    • 28.05.2021
    • 484views
    • 2comments
    0
  • Pahunchik
    Level 8
    Moscow
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Under discussion
    help pleasecan't pass last condition
    • 30.05.2021
    • 1002views
    • 2comments
    0
  • Pahunchik
    Level 8
    Moscow
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Under discussion
    I get an error when checking the last condition:I get an error when checking the last condition: Display the resulting list, each element on a new line.
    • 30.05.2021
    • 404views
    • 5comments
    0
  • Liliane Top
    Level 17
    Amsterdam
    Question about the task Buggy initializeIdAndName
    Java Core, Level 3, Lesson 2
    Resolved
    It compiles and runs so why do I fail the testNot sure what is requested.
    • 07.03.2020
    • 1272views
    • 6comments
    1
  • AP
    Level 15
    Bodmin
    Under discussion
    Can I run Minesweeper game in Intellij Idea?Is anyone able to run Minesweeper game in IntelliJ Idea? If yes, please help with the debug configurations. I am looking for Main class to define in configuration. Thanks
    • 06.09.2020
    • 740views
    • 1comment
    0
  • 1
  • ...
  • 69
  • 70
  • 71
  • 72
  • 73
  • ...
  • 371
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