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
  • Richard Herrera
    Level 3
    Tampa
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    i got it but not sure why it works. can someone please explain in simple terms.not sure what the line with return min three time and abcd all in different parenthesis means. i want to understand before i go on. thanks in advance
    • 2/25/20
    • 1083views
    • 1comment
    0
  • CREATIVE COMMON
    Level 4
    Nashik
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    4 condition not met 2 and 4 solutions are right but 1 and 3 wrong with same syntax please help
    • 3/21/20
    • 1203views
    • 1comment
    0
  • nikhil singla
    Level 9
    Chandigarh
    Question about the task Ascending numbers
    Java Syntax, Level 6, Lesson 11
    Under discussion
    Everything is working fine don't know what s the problemThe displayed numbers should be sorted in ascending order.
    • 7/21/19
    • 1957views
    • 3comments
    0
  • asif nawaz
    Level 8
    Mumbai
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    it does not pass the requirementsable to run code but not able pass the requirements. its problem with 3 digit with ofd
    • 4/3/20
    • 1045views
    • 2comments
    0
  • Arun
    Level 17
    Tirupati
    Question about the task Price of apples
    Java Syntax, Level 4, Lesson 1
    Under discussion
    Explain!please any one can explain this topic, instance variables...
    • 2/6/20
    • 1199views
    • 1comment
    0
  • dean
    Level 8
    Deutschland
    Question about the task Constructor
    Java Syntax, Level 5, Lesson 9
    Resolved
    I passed but trying to figure the syntax flowHey, so i passed i but i've problem understand few lines if someone could explain that for me... so basically: 1. line 9: how we create a specific class var before we've even created the class-object? also wasn't it just better to declare the class type at line 18 instead and remove line 9? also we
    • 4/25/19
    • 2361views
    • 2comments
    0
  • Neha Anjum
    Level 6
    Hyderabad
    Question about the task Setting the number of cats
    Java Syntax, Level 4, Lesson 2
    Resolved
    HELP...!!public class Cat { private static int catCount = 0; public static void setCatCount(int catCount) { catCount = 0; Cat.catCount=catCount; } public static void main(String[] args) { System.out.println(Cat.catCount); } }
    • 9/17/18
    • 3484views
    • 7comments
    1
  • Uchenna Benjamin
    Level 15
    Madisonville
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    the last condition is not met what do I dowhat should I do
    • 3/26/20
    • 1290views
    • 5comments
    0
  • Lindsay Daud Khan
    Level 0
    Under discussion
    Trying to create an instance of a class called wizard and execute the jump() method passing it as argument? You are now going to write the various methods in WizardController that animate the wizards. In order to follow the motion of the wizards properly you will need to slow the animation down. To help you do this we have provided a class method delay() in the WizardController class. WizardController.d
    • 4/1/20
    • 1195views
    • 2comments
    0
  • Kritika Kumari
    Level 11
    Mumbai
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    What is the error in the program? The program shows correct output but it doesn't matches second condition . What is the error in the program ?
    • 3/31/20
    • 1253views
    • 3comments
    0
  • srikanth
    Level 10
    Bangalore
    Question about the task StringHelper class
    Java Syntax, Level 6, Lesson 8
    Under discussion
    please any one tell me how to fix this two errorsi didnt understand the meaning of repeatation in question pls any one explain it clearly ..
    • 1/22/19
    • 1655views
    • 3comments
    0
  • Ramilya
    Level 20
    SPb
    Question about the task Sorting even numbers from a file
    Java Core, Level 3, Lesson 11
    Archived
    Please helpWhat's wrong in my code? Input: 5 8 -2 11 3 -5 2 10 My output: 10 10 10 10 10 10 10 10 48 50 50 56
    • 3/19/19
    • 2217views
    • 15comments
    1
  • Björn
    Level 1
    Aachen
    Resolved
    Conditions not available in IntelliJDear all, I installed the IntelliJ plugin. I am able to show me the available tasks. If I click on an available task the via the "Plugin-window", the Solution.java is shown in the IntelliJ. But IntelliJ will not show me the Conditions of the task. (I am using JDK 14 - https://www.oracle.com/java/tec
    • 4/1/20
    • 1255views
    • 4comments
    0
  • Madhu Prabha
    Level 7
    Gurgaon
    Question about the task Getters and setters for the Person class
    Java Syntax, Level 5, Lesson 5
    Under discussion
    What is wrong with my code?
    • 4/2/20
    • 1208views
    • 2comments
    0
  • hemant
    Level 8
    prayagraj
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    why index out of bound in line 32(index 0)please help
    • 4/2/20
    • 1004views
    • 2comments
    0
  • Anonymous #10386685
    Level 9
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Archived
    What is WrongMy program does exactly what is asked. I even checked to make sure there is no space added after. Is it because I am not converting the String, and I am instead, printing out the array?
    • 1/3/19
    • 2474views
    • 6comments
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task GCD
    Java Core, Level 4, Lesson 8
    Resolved
    Very unclear as to what they wantCondition 2 just isn't passing
    • 12/12/19
    • 1236views
    • 2comments
    2
  • Facundo Villarroel
    Level 20
    Berlin
    Question about the task Transactionality
    Java Core, Level 7, Lesson 10
    Under discussion
    Why do we need to we need to create an instance of Solution to call the joinData method?I had all the rest of the code ready, and when I wanted to call the joinData method I found out that I couldn't. Only when instantiating the Solution class I was able to call the method on the instance. In this case, I really don't understand why, can someone explain it to me? Thanks in advance.
    • 2/9/20
    • 1025views
    • 1comment
    0
  • IO.Error
    Level 24
    Bremen
    Question about the task Building a file
    Java Core, Level 8, Lesson 11
    Resolved
    Can't find the problem :(Hello everyone, can someone help me finding my mistake in the code ? Thank you very much
    • 3/29/20
    • 1069views
    • 0comments
    0
  • Brett Augustyn
    Level 4
    Elgin
    Question about the task This age doesn't work for me…
    Java Syntax, Level 4, Lesson 1
    Under discussion
    I need helpI dont understand what to do with this problem. Could someone explain it in somewhat simple terms?
    • 4/1/20
    • 1136views
    • 2comments
    0
  • Maria
    Level 7
    Berlin
    Question about the task Positive number
    Java Syntax, Level 4, Lesson 7
    Resolved
    Help pleaseWhat I am doing wrong? Thank you for your help :)
    • 3/1/20
    • 1208views
    • 3comments
    0
  • Norbert
    Level 41
    Kielce
    Under discussion
    This question is not about this stage specifically, but about the game in general. Does anyone know why it doesn't work for me?file:///C:/Users/norbert/Desktop/ss.png
    • 4/1/20
    • 1152views
    • 1comment
    0
  • Rafał Szrajnert
    Level 7
    Poddebice
    Question about the task Maximum of four numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    I have correct answers?hi, in this code I meet all conditions. when i put ex. 3, 3, 3, 1 it is only printing 3 once (one time) but program says not met
    • 12/25/19
    • 1289views
    • 7comments
    0
  • Serg
    Level 23
    Tyumen
    Question about the task Streets and houses
    Java Syntax, Level 7, Lesson 4
    Archived
    I do not understand why I get an error in the lineI do not understand why I get an error in the line if (arr[i] %2 == o){ package com.codegym.task.task07.task0706; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Solution { public static void main(String[] args) throws Exc
    • 5/23/19
    • 1304views
    • 5comments
    0
  • Lgd
    Level 20
    London
    Question about the task Day of the week
    Java Syntax, Level 4, Lesson 4
    Resolved
    If you enter the number 1, you must display "Monday"Hi, help please ! below is my code but I get this msg when I try to validate ...If you enter the number 1, you must display "Monday" package com.codegym.task.task04.task0413; /* Day of the week */ import java.io.*; public class Solution { public static void main(String[] args) throws Excep
    • 2/18/20
    • 1185views
    • 4comments
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task Snake (Part 11/20)
    Games, Level 0, Lesson 1
    Resolved
    Please helpThe code I've added for this task is: Snake Class - line 39 SnakeGame Class - lines 38-44
    • 4/1/20
    • 1247views
    • 1comment
    0
  • Kobi
    Level 17
    Haifa
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Archived
    Help! package com.codegym.task.task08.task0823; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /* Going national */ public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReade
    • 4/1/20
    • 1062views
    • 2comments
    0
  • hidden #10444738
    Level 16
    Question about the task Minesweeper (Part 4/16)
    Games, Level 0, Lesson 0
    Under discussion
    Runs but will not verify!!!!WTF!
    • 9/19/19
    • 1796views
    • 4comments
    0
  • Damodar Gopagoni
    Level 11
    Singapore
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Closest to 10 - abs function not workingQuestion : Closest to 10 public static int abs(int a) { if (a < 0) { return -a; } else { return a; } } this method still returning positive eve though user input is negative. any suggestions on this please
    • 3/2/20
    • 1037views
    • 1comment
    0
  • Lgd
    Level 20
    London
    Question about the task Make a family
    Java Syntax, Level 8, Lesson 11
    Resolved
    it runs ok and the output seems correct but it wont validateplease can you take a look to see what Ive done wrong ...many thanks
    • 3/26/20
    • 1471views
    • 2comments
    0
  • 1
  • ...
  • 218
  • 219
  • 220
  • 221
  • 222
  • ...
  • 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