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
  • Yash
    Level 15
    Sugar Hill
    Question about the task Four mistakes
    Java Core, Level 3, Lesson 2
    Under discussion
    com.codegym.task.task13.task1305.Solution.Dream is abstract; cannot be instantiated. file com/codegym/task/task13/task1305/Solution.java, line 12, position 165cannot be instantiated because it is abstract but it's not abstract. public class Solution { public static void main(String[] args) { System.out.println(new Dream().HOBBY.toString()); System.out.println(new Hobby().toString()); } interface Desire { } public
    • 11/3/19
    • 1533views
    • 2comments
    0
  • Noob_Coder
    Level 22
    Springfield
    Question about the task Make a family
    Java Syntax, Level 8, Lesson 11
    Under discussion
    no idea how to continueI don't know how to continue very well,very appreciate if someone can point out what's wrong and how the code works especially how to use Human constructor and to string method to create the required variables.
    • 11/17/20
    • 950views
    • 1comment
    0
  • Premachandran
    Level 35
    Ernakulam
    Question about the task Archiver (part 1)
    Java Multithreading, Level 7, Lesson 15
    Under discussion
    Where am I wrong?I tried different ways but one condition fails.
    • 2/7/20
    • 1216views
    • 2comments
    2
  • Noob_Coder
    Level 22
    Springfield
    Question about the task Month number
    Java Syntax, Level 8, Lesson 11
    Resolved
    What's wrong?dk what's wrong to this simple task...
    • 11/17/20
    • 585views
    • 2comments
    0
  • Maciej Sokołowski
    Level 1
    Warsaw
    Question about the task Moon Lander (Part 6/23)
    Games, Level 0, Lesson 4
    Resolved
    landscape field initializing failed I don't see LANDSCAPE in the ShapeMatrix class. Where can I find it? Should I create it?
    • 11/17/20
    • 461views
    • 1comment
    0
  • Lgd
    Level 20
    London
    Question about the task Tracking changes
    Java Core, Level 9, Lesson 11
    Under discussion
    my "lines" list looks good as per requirements so I just cannot see what is wrong here ? help would be v. gratefully receivedmy "lines" list looks good as per requirements so I just cannot see what is wrong here ? help would be v. gratefully received
    • 11/6/20
    • 581views
    • 2comments
    0
  • Cristian
    Level 13
    Ploiesti
    Question about the task Lonely arrays interact
    Java Syntax, Level 7, Lesson 4
    Under discussion
    The last requirement is not verifiedHi guys! This requirement is not verified: The program must record the lengths of the strings in the number array, and then display them on the screen. Why? Thanks a lot! package com.codegym.task.task07.task0703; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arr
    • 11/17/20
    • 728views
    • 5comments
    0
  • Usman Jutt
    Level 4
    Pir Mahal
    Question about the task Sum of the digits of a three-digit number
    Java Syntax, Level 3, Lesson 12
    Resolved
    What is wrong with this did not understand? plz help meWhat i do/
    • 11/3/18
    • 2683views
    • 4comments
    0
  • Martin Evtimov
    Level 22
    Chicago
    Question about the task Fix four mistakes
    Java Core, Level 4, Lesson 8
    Under discussion
    Help a brother out.The error "The initList method must fill the resulting list with random values". Any hints?
    • 11/4/18
    • 2127views
    • 5comments
    0
  • lukesky
    Level 11
    Zurich
    Question about the task Month number
    Java Syntax, Level 8, Lesson 11
    Under discussion
    No idea why it doesn't pass he last conditionNo idea why it doesn't pass he last condition
    • 11/16/20
    • 535views
    • 2comments
    0
  • Shadow
    Level 7
    Hogsmead
    Question about the task ConsoleReader class
    Java Syntax, Level 6, Lesson 8
    Under discussion
    Having a problem :(console is showing: " class, interface , enum missing ........ ...................... line 47" Its showing the sign : " ^ " after the word * void " in line 47 help.....
    • 11/15/20
    • 699views
    • 3comments
    0
  • Cristian
    Level 13
    Ploiesti
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Under discussion
    Father and Mother print failing validation. Why?Hi guys! Help me, please! Thank you in advance! Father and Mother print failing validation. Why? package com.codegym.task.task06.task0621; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /* Cat relations */ public class Solution { public stati
    • 11/14/20
    • 490views
    • 2comments
    0
  • Gellert Varga
    Level 23
    Szekesfehervar
    Question about the task Task No. 1 about integer type conversions
    Java Syntax, Level 10, Lesson 4
    Under discussion
    If (int)(Infinity)==Integer.MAX_VALUE, then (short)(Infinity) why doesn't equal to Short.MAX_VALUE?The result of the (1.0 / 0) division is: "Infinity". If we do the "type cast" operation on the above expression, to "byte" or to "short", then the result is -1. Why? And if we do cast it to "int" or to "long", then the result is their MAX_VALUE. OK, it has sense. But why is this difference? In o
    • 6/26/20
    • 702views
    • 1comment
    1
  • Emre Erkaslan
    Level 0
    Istanbul
    Question about the task Space Invaders (Part 18/34)
    Games, Level 0, Lesson 6
    Under discussion
    Help pleaseI am at the point where I am losing grasp of what is being accomplished with what code. However this code gives error: com/codegym/games/spaceinvaders/part18/gameobjects/Ship.java:27: error: incompatible types: int[] cannot be converted to int[][] setMatrix(viewFrames[0]);
    • 11/15/20
    • 934views
    • 1comment
    0
  • Albert
    Level 6
    Hong Kong
    Question about the task Seasons on Terra
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Any smart solution?// The system passes the code, but I am wondering if there is a smarter solution // I tried to use ||, but seems it only works or the binary "a or b" case, but not for "a or b or c" case package com.codegym.task.task04.task0411; /* Seasons on Terra */ public class Solution { public static v
    • 11/16/20
    • 756views
    • 6comments
    0
  • Albert
    Level 6
    Hong Kong
    Question about the task Name register
    Java Syntax, Level 4, Lesson 2
    Under discussion
    Cat.fullName = fullName v.s. this.fullName = fullNamesometimes the tasks could be met by typing Cat.fullName = fullName, sometimes this.fullName = fullName what is the difference? plus to non-programmers, level 4 concerning the visibility is suddenly very tough, even if we try to gather additional information online
    • 11/13/20
    • 848views
    • 4comments
    0
  • Andrei
    Level 41
    Question about the task Ten cats
    Java Syntax, Level 9, Lesson 11
    Under discussion
    I have solved the task, but I don't understand the difference between 2 lines of codeHello, so the point was to finish the method that converts a map to a set. Initially I tried to initiate a Set and then put the values of the map in the set, like this: Set catSet = new HashSet<>(); catSet = map.values(); However, this would prompt an error that I am trying
    • 11/16/20
    • 944views
    • 6comments
    0
  • Seferi
    Level 22
    Question about the task Introducing tags
    Java Core, Level 9, Lesson 11
    Resolved
    It works on my IDE but failing the last conditionI know what you are going to say.. I took the easy way out and used the Jsoup library for this task.. As a punishment, it's failing the last condition. I appreciate the help.. Thanks..
    • 11/13/20
    • 698views
    • 8comments
    0
  • Roman Grygorczuk
    Level 19
    Cracow
    Question about the task Shuffled just in time
    Java Syntax, Level 7, Lesson 12
    Resolved
    Cannot pass validationGuys, Cannot pass validation. Program works corrctly
    • 11/14/20
    • 846views
    • 5comments
    0
  • hidden #10263621
    Level 4
    Question about the task Somehow average
    Java Syntax, Level 4, Lesson 16
    Resolved
    Can someone help me with what is wrong in this code?Can someone help me with what is wrong in this code?
    • 9/24/18
    • 2083views
    • 5comments
    0
  • Laurap5
    Level 9
    Vilnius
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Resolved
    Please help :)If in the first place I enter the shortest string before the longest, It's working :) If in the first place I enter the longest string before the shortest. It's working.
    • 12/4/18
    • 2301views
    • 8comments
    2
  • David Close
    Level 17
    London
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    whats wrong with final final condition will not clear
    • 11/5/20
    • 670views
    • 5comments
    0
  • Bartek
    Level 10
    Dukla
    Under discussion
    Nie czyta mi Stringa w zadaniach Nie wiem dlaczego nie czyta mi wgl klasy String.
    • 11/11/20
    • 497views
    • 2comments
    0
  • Nicholas Corten
    Level 4
    Antwerp
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Resolved
    Hi I'm stuck on this one. Any help is welcome :)package com.codegym.task.task03.task0319; /* Predictions */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner scan = new Scanner(System.in); String name = scan.nextLine(); int number1
    • 11/4/20
    • 798views
    • 3comments
    0
  • Nicholas Corten
    Level 4
    Antwerp
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    I don't see what I'm typing wrong
    • 11/4/20
    • 937views
    • 3comments
    0
  • Michał
    Level 11
    Warsaw
    Question about the task Kind Emma and the summer holidays
    Java Syntax, Level 8, Lesson 8
    Resolved
    Trying to solve this using Streams APIHello guys! I was able to solve this task by using just an old fashioned 'if' and 'while' loop but I was thinking about approaching this issue differently but couldn't make it work. Could you please help me figure out what I should change in my code here to make it work and solve this task 0816 us
    • 11/14/20
    • 607views
    • 3comments
    0
  • Vijay Rangan
    Level 5
    Jakarta
    Question about the task Parenthetical brainteaser
    Java Syntax, Level 3, Lesson 4
    Resolved
    not getting 382 im not getting 382 ...can any one explain what to do...and i have tried (1 + 2 * (3 + 4 * (5 + 6 * 7)) + (8 * (9 + 10))); too and its getting error in "The sequence of digits and arithmetic operations can not be changed."
    • 9/30/18
    • 5099views
    • 18comments
    0
  • Rory King
    Level 4
    Budapest
    Under discussion
    Please Helpi run the programme on intelij and have no issues but on the task i get an error please help package com.codegym.task.task03.task0303; /* Currency exchange */ public class Solution { public static void main(String[] args) { //write your code here convertEurToUsd(50 , 2.5);
    • 11/15/20
    • 545views
    • 1comment
    0
  • Chris
    Level 19
    Newark
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Under discussion
    I have no idea how to finish. I cant pass the last requirement. Someone please help .
    • 11/15/20
    • 536views
    • 1comment
    0
  • Lawson
    Level 29
    Lagos
    Question about the task Hippodrome (part 12)
    Java Multithreading, Level 1, Lesson 16
    Resolved
    Pls helpI know this question is supposed to be easy but please help me
    • 9/11/20
    • 737views
    • 11comments
    0
  • 1
  • ...
  • 115
  • 116
  • 117
  • 118
  • 119
  • ...
  • 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