CodeGym
Promotion
CodeGym University
Java FullStack
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
  • Dinesh
    Level 7
    Delhi
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Under discussion
    please explain the flow control of the programTask completed through help but needed explanation how its working
    • 5/27/20
    • 470views
    • 4comments
    0
  • Dinesh
    Level 7
    Delhi
    Question about the task Come on, lucky seven!
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Method call problemDone the task But can anyone explain how checkInterval(112) and checkInterval(10) is executed Flow of these two method i mean.
    • 5/27/20
    • 544views
    • 1comment
    0
  • Dinesh
    Level 7
    Delhi
    Question about the task Come on, lucky seven!
    Java Syntax, Level 4, Lesson 4
    Under discussion
    What does a represent in method call checkInterval() --> This happens when i execute the program on ide During the program execution the in the ide the method call shows checkInterval(a: 60); checkInterval(a: 112); checkInterval(a: 10);
    • 5/27/20
    • 600views
    • 2comments
    0
  • Onome Brownly-Otiede
    Level 9
    Galway
    Question about the task Red scare
    Java Syntax, Level 3, Lesson 4
    Under discussion
    help plsi dont know what to do pls help
    • 5/22/20
    • 904views
    • 2comments
    0
  • Steve Bennett
    Level 18
    Stoneleigh
    Question about the task 2048 (Part 14/18)
    Games, Level 0, Lesson 2
    Under discussion
    I can get 3 criteria if i don't include the check for horizontal or vertical duplicates but the moment i include the line for this it only give me verification for first task. Any ideas please.... package com.codegym.games.game2048; import com.codegym.engine.cell.*; import java.util.ArrayList; import java.util.Arrays; public class Game2048 extends Game { //variables for class private static final int SIDE = 4; //size of screen private int[][] gameField = new int[SIDE][SIDE];
    • 5/22/20
    • 974views
    • 3comments
    0
  • TIT4N90
    Level 14
    Tourin
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Resolved
    Code looks ok(tested on Eclipse and seems to work) but verification doesn't show green checks, just says failed to pass. Should i contact help desk?public class Solution { public static void main(String[] args) throws Exception { int i = 0; int max = Integer.MIN_VALUE; Scanner console = new Scanner(System.in); int input = console.nextInt(); if( input <= 0){ System.exit(0); }
    • 5/26/20
    • 905views
    • 2comments
    0
  • dhanush
    Level 30
    Chennai
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    not in the ascending orderdonno what's wrong in this program I can't figure it out help!
    • 5/27/20
    • 532views
    • 2comments
    0
  • AnnemiekFF
    Level 41
    Breda
    Question about the task Recursion for mathematical expressions
    Java Collections, Level 4, Lesson 2
    Under discussion
    What am I missing?I adjusted my code. Now it does see it as recursion, but it is still saying the answer is wrong? Why? Even my calculator says every answer is as expected? Who can find the error? I'm currently at attempt 30 to get this thing finished.
    • 4/29/20
    • 1280views
    • 3comments
    0
  • Angel Stefan Arjoca
    Level 26
    Bucharest
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    Last condition!!! 🤷‍♂️Pls i need help, i don't know how to print all the strings! Really, really stuck! Tk you
    • 5/26/20
    • 712views
    • 2comments
    0
  • srikanth
    Level 10
    Bangalore
    Question about the task Calling a constructor from a constructor
    Java Syntax, Level 5, Lesson 9
    Under discussion
    only one condition is not satisfied what is wrong in the code?code gone wrong?
    • 1/19/19
    • 2273views
    • 7comments
    2
  • Surya
    Level 33
    Newark
    Question about the task Create a Circle class
    Java Syntax, Level 5, Lesson 7
    Resolved
    I get a class not found exception. Looks like a bug from code gym, please resolve it asap.I get a class not found exception. Looks like a bug from code gym, please resolve it asap. Thanks, Surya
    • 5/24/20
    • 696views
    • 2comments
    0
  • dhanush
    Level 30
    Chennai
    Question about the task Labels and numbers
    Java Syntax, Level 4, Lesson 7
    Resolved
    not satisfying conditionhelp me to find what I'm doing wrong not satisfying the 4,5,7 conditions
    • 5/26/20
    • 604views
    • 2comments
    0
  • Wes Reed
    Level 10
    Alexandria
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Under discussion
    Not able to pass the last requirement. Help please. package com.codegym.task.task05.task0532; import java.io.*; import java.util.*; import java.util.Arrays; /* Task about algorithms */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(Sy
    • 5/26/20
    • 960views
    • 6comments
    0
  • Tessa Podbury
    Level 18
    Melbourne
    Question about the task ConsoleReader class
    Java Syntax, Level 6, Lesson 8
    Under discussion
    Help with the logicWhy is the logic for the boolean to return false instead of true? Can someone please explain this? In my head you would have the final return as true because if the above condition is false, it would return a false? Someone please explain the logic
    • 1/31/20
    • 1408views
    • 3comments
    0
  • hidden #10450537
    Level 18
    Question about the task CRUD
    Java Core, Level 7, Lesson 10
    Resolved
    Can't Verify Last RequirementTried a bunch of different things, still can't get the last requirement to verify. Any help?
    • 8/24/19
    • 1547views
    • 2comments
    3
  • Sidd
    Level 7
    Maple Valley
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Resolved
    ???What is wrong with this code?
    • 5/22/20
    • 765views
    • 2comments
    0
  • Alban
    Level 14
    Kukes
    Question about the task Day of the week
    Java Syntax, Level 4, Lesson 4
    Under discussion
    What's wrong with my code?Please help...
    • 3/5/20
    • 1123views
    • 5comments
    0
  • Andrei
    Level 26
    Liverpool
    Question about the task Chicken factory
    Java Core, Level 4, Lesson 6
    Resolved
    getDescription() fail.I erased all getDescription methods from four classes and writed them manually back. And it works. propably there was incorrect symbol or anything else. return super.getDescription() + " I come from North America. I lay " + this.getMonthlyEggCount + " eggs a month."; maybe that will help someone.
    • 3/18/20
    • 1250views
    • 1comment
    0
  • Riya
    Level 8
    Karnal
    Question about the task Static cats
    Java Syntax, Level 6, Lesson 11
    Archived
    what's the use of constructor here??i am adding object to cats in the constructor
    • 10/13/18
    • 2666views
    • 4comments
    2
  • Elsilaves
    Level 4
    Üllő
    Question about the task More conversions
    Java Syntax, Level 3, Lesson 8
    Resolved
    Please help. I'm stuck , and I tryed almost everything. The output is 20 and now I'm clueless. If anyone has a hint please tell me. :)
    • 5/26/20
    • 1155views
    • 2comments
    0
  • Shreyas Sadgir
    Level 11
    Pune
    Question about the task Task about algorithms
    Java Syntax, Level 9, Lesson 11
    Resolved
    Null pointer exception but runs fine on IntelliJ
    • 5/26/20
    • 666views
    • 6comments
    0
  • Joy Majumdar
    Level 16
    Kolkata
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Resolved
    Getting ConcurrentModification ExceptionPlease show the way
    • 3/7/19
    • 2057views
    • 7comments
    0
  • BlueJavaBanana
    Level 37
    Question about the task Prices
    Java Core, Level 8, Lesson 11
    Resolved
    Can anyone clarify what this bit means?"Before adding a new line, re-write all of its contents to the file." Are we supposed to write the file, add the new product to whatever data structure we have and then write the file again with the new data?
    • 5/26/20
    • 644views
    • 4comments
    0
  • Muhammed Akthus
    Level 2
    Ernakulam
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Help me The values really should add and come right. Please help me.
    • 5/1/20
    • 1386views
    • 2comments
    0
  • Anjan
    Level 13
    Indianapolis
    Question about the task Min and max in arrays
    Java Syntax, Level 7, Lesson 12
    Under discussion
    out is correct. still task not metout is correct. still task not met
    • 5/19/20
    • 615views
    • 2comments
    0
  • Lucas Hoage
    Level 14
    Savannah
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    My eyes need a break. Lend me yours! Issue for last task being validatedzero is not a positive or negative number. Point me in the right direction. Don't give me the answer. package com.codegym.task.task04.task0429; /* Positive and negative numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { B
    • 5/25/20
    • 756views
    • 6comments
    0
  • Shreyas Sadgir
    Level 11
    Pune
    Question about the task Make a family
    Java Syntax, Level 8, Lesson 11
    Resolved
    Not able to satisfy last condition output seems to be correct, please advise.
    • 5/24/20
    • 1166views
    • 2comments
    0
  • Torsten Kuhlmann
    Level 16
    Olpe
    Resolved
    premium Hallo, ich bin auf die App gestoßen und finde sie sehr gut . Ich habe komischer Weise innerhalb der App Zugriff auf alle Aufgaben usw. wenn ich mich mit dem gleichen account aber über Browser einwähle wird mir angezeigt das ich premium benötige. ist das gewollt?
    • 4/28/20
    • 888views
    • 1comment
    0
  • Noob_Coder
    Level 22
    Springfield
    Question about the task Come on, lucky seven!
    Java Syntax, Level 4, Lesson 4
    Under discussion
    dk whatpackage com.codegym.task.task04.task0410; /* Come on, lucky seven! */ public class Solution { public static void main(String[] args) { checkInterval(60); checkInterval(112); checkInterval(10); } public static void checkInterval(int a) { if(a < 50 |
    • 5/22/20
    • 604views
    • 5comments
    0
  • Yash
    Level 15
    Sugar Hill
    Question about the task Chicken factory
    Java Core, Level 4, Lesson 6
    Resolved
    I don't understandValidation says this : The Hen class must have a getMonthlyEggCount method. The Hen class must have a getDescription method. The AsianHen class must be in a separate file. The AfricanHen class's getMonthlyEggCount method must return an int. The description of an AfricanHen should have the following
    • 11/17/19
    • 1382views
    • 5comments
    1
  • 1
  • ...
  • 190
  • 191
  • 192
  • 193
  • 194
  • ...
  • 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