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
  • Yvonne
    Level 7
    Nairobi
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Resolved
    Having a problem with the last conditionHaving a problem with the last condition I can't seem to figure out the problem. Please help!
    • 12/11/19
    • 1599views
    • 4comments
    2
  • Alec Jensen
    Level 5
    Arlington
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Min of three still wont compute.I have gone over so many different ideas to get this to work and I am just stuck. Can someone discuss with me the reasoning?
    • 12/30/19
    • 1263views
    • 2comments
    0
  • ~mK
    Level 7
    Princeton, NJ
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Under discussion
    This compiles fine, so what gives?package com.codegym.task.task04.task0414; /* divisible by 400 = leap divisible by 4 = leap divisible by 100 = regular */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner kb = new Scanner(System.in);
    • 12/30/19
    • 1474views
    • 1comment
    0
  • Ndatta Fall
    Level 6
    Bowie
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    can someone please tell me what im doing wrong? thanks in advancethe out put is always right with different test cases
    • 12/30/19
    • 1368views
    • 1comment
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Method quartet
    Java Syntax, Level 8, Lesson 6
    Under discussion
    Give me solutoin pls(Pls solution/ fast
    • 6/20/19
    • 1556views
    • 5comments
    0
  • Jonah Poulson
    Level 5
    New Haven
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    This Code isn't running. Something about java.lang.StringThis Code isn't running. Something about java.lang.String
    • 12/29/19
    • 1655views
    • 1comment
    0
  • Michael T Schaefer
    Level 15
    Columbia
    Question about the task Minimum of two numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Why is the "function description" written first and "specific tasks for it" written second?I (proudly!) nailed the task on the first try, but I'm a little confused as to the order in which these two elements were written (in contrast with how they were written in previous examples). What I mean is, in previous examples, the "specific tasks" (the very reason we created this function) wer
    • 12/30/19
    • 1439views
    • 1comment
    0
  • Alexandre Lalancette
    Level 41
    Quebec
    Question about the task Number of letters
    Java Syntax, Level 10, Lesson 11
    Resolved
    Last requirement not met!The last requirement is not met and I don't understand why. Can someone help me out?
    • 11/8/19
    • 1333views
    • 2comments
    0
  • pierre
    Level 9
    Beijing
    Question about the task Min and max in arrays
    Java Syntax, Level 7, Lesson 12
    Under discussion
    The code is working...but the 3rd condition is not met.
    • 12/25/19
    • 1197views
    • 2comments
    0
  • Anonymous #10410173
    Level 22
    Delhi
    Question about the task Space Invaders (Part 3/34)
    Games, Level 0, Lesson 6
    Resolved
    stuck in 1st conditionwhy my 1st condition not Satisfing??
    • 12/29/19
    • 1016views
    • 1comment
    0
  • Hendra
    Level 8
    Medan
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Under discussion
    I can't solve the fifth requirement....some help plzpackage com.codegym.task.task05.task0532;
    • 12/29/19
    • 918views
    • 1comment
    0
  • Joseph Haynes
    Level 2
    United States of America
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    Won't pass final testWhat the heck? This won't pass the final test, but I can't make it fail manually. public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String sN = reader.readLine
    • 12/28/19
    • 1231views
    • 3comments
    0
  • Biplob
    Level 1
    কুমিল্লা
    Question about the task Take your turn!
    Java Core, Level 6, Lesson 13
    Under discussion
    Hints required: sequential vs parallel Hints required: sequential vs parallel
    • 7/6/19
    • 1658views
    • 8comments
    0
  • Akhilesh
    Level 14
    Mumbai
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    Need helpI have tried it on IDE. It works fine!. IDK why it's not accepting it, help please!
    • 11/4/18
    • 1686views
    • 6comments
    0
  • Grover
    Level 4
    Sioux Falls
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    What is wrong with this code?It prints: 1 -3 3 5 Shouldn't that be correct?
    • 11/5/19
    • 1542views
    • 2comments
    0
  • hidden #10574078
    Level 10
    Under discussion
    task0621 Maybe the translation problem.package zh.codegym.task.task06.task0621; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Objects; /* Cat relations */ public class Solution { public static void main(String[] args) throws IOException { BufferedReader rea
    • 12/28/19
    • 1109views
    • 1comment
    0
  • Deepak Chandra
    Level 16
    Visakhapatnam
    Question about the task Functionality is not enough!
    Java Syntax, Level 10, Lesson 11
    Under discussion
    Help please.Codegym is recommending this If an empty string is entered after a number, then that number should also be displayed (it must not be lost). How to do that.
    • 6/25/19
    • 1414views
    • 3comments
    0
  • Niladri pradhan
    Level 33
    Mumbai
    Question about the task How to avoid Copy+Paste
    Java Multithreading, Level 4, Lesson 6
    Resolved
    Help pleaseBanging my head for two hours but still can't passed the verification
    • 9/16/19
    • 1438views
    • 4comments
    0
  • Henry
    Level 15
    Portland
    Question about the task In decreasing order
    Java Syntax, Level 7, Lesson 12
    Under discussion
    I don't know what is wrong with my codePlease I need help passing all the requirements. Thanks
    • 12/28/19
    • 1452views
    • 1comment
    0
  • ~mK
    Level 7
    Princeton, NJ
    Question about the task This age doesn't work for me…
    Java Syntax, Level 4, Lesson 1
    Under discussion
    Whats wrong here. It compiles
    • 12/23/19
    • 1422views
    • 2comments
    0
  • Hendra
    Level 8
    Medan
    Question about the task Console-based piggy bank
    Java Syntax, Level 5, Lesson 12
    Under discussion
    help...i'm stuckpackage com.codegym.task.task05.task0529;
    • 12/27/19
    • 1164views
    • 3comments
    0
  • Rafał Szrajnert
    Level 7
    Poddebice
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Under discussion
    modulo or /hi, I must have some mistake here, because when I type 1988 it says 366 and should be 366 When I change sign "/" to modulo "%" when input is 1988 it says 366 but still ot validating task
    • 12/24/19
    • 1105views
    • 2comments
    0
  • LucGar
    Level 22
    Bilbao
    Question about the task Maximum in an array
    Java Syntax, Level 7, Lesson 4
    Under discussion
    i found the solution but i have a askWhy the program use the method " public static int[] initializeArray() "? it is confused me. it would not be easier to put it directly in the main method by omitting this method
    • 12/25/19
    • 1314views
    • 2comments
    0
  • Jason
    Level 16
    Question about the task Chicken factory
    Java Core, Level 4, Lesson 6
    Under discussion
    .equals apprach vs. switch comparing StringWhy does the continent.equals approach work here but not the switch? I don't understand why the switch doesn't evaluate correctly in this scenario. Thanks static class HenFactory { static Hen getHen(String continent) { Hen hen = null; //write your code here
    • 12/26/19
    • 1081views
    • 1comment
    0
  • jajaceek
    Level 23
    Warszawa
    Question about the task Only for the rich
    Java Syntax, Level 8, Lesson 8
    Resolved
    Why it doesn't workHi, I made the solution in the was which is at the comments. But I would like to make it in other way - like it this way. ____________________________ public static void removeItemFromMap(HashMap map) { // int level = 500; Iterator> iter = map.entrySet().iterator(); w
    • 12/22/19
    • 1215views
    • 2comments
    0
  • Shawn
    Level 3
    Dallas
    Question about the task Hello, StarCraft!
    Java Syntax, Level 3, Lesson 4
    Under discussion
    I actually have ttis game!Cannot believe this! I should make these units for real in the game and then just take pics and apply them to this task XD lol problem solved
    • 12/13/19
    • 1249views
    • 1comment
    0
  • William Hoang
    Level 10
    Hanoi
    Question about the task Space Invaders (Part 1/34)
    Games, Level 0, Lesson 6
    Under discussion
    Could anyone help me to this task I just create a class SpaceInvadersGame like below, and still not true :|
    • 12/16/19
    • 1084views
    • 1comment
    0
  • YSS
    Level 16
    New York City
    Question about the task Request parser
    Java Core, Level 5, Lesson 12
    Under discussion
    Test not passing - Works as requested with the examples, thanks for the helpOn a scale of 1 to 10, this is reaching number 10 of frustration, The test urls work, I even added a check that if you enter a non url it still prints it out. thanks for the help.
    • 12/21/19
    • 1156views
    • 2comments
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task Take your turn!
    Java Core, Level 6, Lesson 13
    Resolved
    Threads not running sequentiallyThe program currently reads the output from the first thread and adds it to the list of the second thread e.g. Input a b c Output a b c Input a b Output a b ca b edit: I got rid of line 33, didn't notice line 9 originally
    • 12/25/19
    • 1768views
    • 1comment
    0
  • Rafał Szrajnert
    Level 7
    Poddebice
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Resolved
    to me it looks correctHi, I checked witn negative, positive and mixed numners. code seems to work good, but not accepting task
    • 12/26/19
    • 1356views
    • 2comments
    0
  • 1
  • ...
  • 245
  • 246
  • 247
  • 248
  • 249
  • ...
  • 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