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
  • Saranya Singh
    Level 8
    Fremont
    Question about the task This age doesn't work for me…
    Java Syntax, Level 4, Lesson 1
    Under discussion
    Explanation?Hi everyone, So, I solved the problem but I'm having trouble understanding the code. Why do we have to put instead of . What does that do?
    • 4/14/20
    • 1696views
    • 3comments
    1
  • Tata
    Level 16
    Hisar, Haryana
    Question about the task Kind Emma and the summer holidays
    Java Syntax, Level 8, Lesson 8
    Resolved
    Give up now..... 😔😔😔😔idk what's problem with my code. Please please helpppp me...!!!!
    • 6/18/20
    • 544views
    • 1comment
    0
  • Brad Reed
    Level 19
    Hartford
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    Displays lowest number, says it failed anyways...?So it displays 3, and 5 for the final two (the lowest numbers) but still says it doesn’t...?
    • 6/17/20
    • 712views
    • 2comments
    0
  • Randall John
    Level 19
    San Jose
    Question about the task Reading a file
    Java Core, Level 3, Lesson 11
    Archived
    Keep getting exception. Help please!I can't seem to get rid of this error that this solution is throwing. Can anyone help
    • 6/18/20
    • 665views
    • 2comments
    0
  • Rafal Pawlowski
    Level 15
    Swaythling
    Question about the task Changing functionality
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Infinite loop?Hi. Why does the codegym says my program has infinite loop while it has not? Well it might have if someone inputs words eternally but if line is empty or null program does finish job and does meet requirements. I have tested it several times on IntelliJ IDEA and it works correctly. Any idea why it
    • 6/18/20
    • 1000views
    • 1comment
    0
  • David
    Level 26
    Bucharest
    Question about the task Rounding numbers
    Java Core, Level 8, Lesson 11
    Under discussion
    Does anyone see what's wrong? I have the right output.I have the right output, it works corectly, but doesn't pass the test. Thank you!
    • 6/18/20
    • 783views
    • 2comments
    0
  • BlueJavaBanana
    Level 37
    Question about the task Word search
    Java Core, Level 10, Lesson 10
    Resolved
    Code works with multiple test scenarios still fails - any ideas?I have tried it with the following: 1. Finding only the first instance of a word 2. Finding multiple instances of the same word (e.g. home in the array three times) 3. All directions 4. Overlapping words 5. Bigger arrays with more words 6. Single words 7. No words Please excuse my verbose code, I
    • 6/18/20
    • 860views
    • 9comments
    0
  • David
    Level 26
    Bucharest
    Question about the task Combining files
    Java Core, Level 8, Lesson 11
    Resolved
    Is there any way I can change the value of append like I am trying at line 30?this way doesn't work. thank you!
    • 6/17/20
    • 691views
    • 6comments
    0
  • Brad Hawk
    Level 20
    Everett
    Question about the task Snake (Part 20/20)
    Games, Level 0, Lesson 1
    Resolved
    My Snake isn't GrowingSomehow I was able to complete all the tasks, but my snake doesn't grow. I can't post my code because I've "completed" the tasks. Does anyone know what could be causing the issue without seeing my code?
    • 4/22/20
    • 1151views
    • 4comments
    0
  • Jhoal
    Level 22
    Berlín
    Question about the task A programmer creates a person
    Java Syntax, Level 5, Lesson 7
    Under discussion
    Help! I don't know what I'm doing wrong!I need your help guys. I don't know if I'm ignoring something but I have an error every time I try to compile the code
    • 6/18/20
    • 1265views
    • 4comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Display a list of keys
    Java Syntax, Level 8, Lesson 3
    Under discussion
    HELP ME PLS GUYSGive me solution pls(
    • 6/19/19
    • 2226views
    • 16comments
    0
  • Andrei Stratu
    Level 18
    Iasi
    Question about the task GCD
    Java Core, Level 4, Lesson 8
    Resolved
    Works but doesn't verify second conditionAny idea what is wrong with it?
    • 6/16/20
    • 737views
    • 1comment
    0
  • Angus McDonald
    Level 5
    Sydney
    Question about the task The richest
    Java Core, Level 9, Lesson 11
    Resolved
    Another - "Correct output --> won't pass" question.The input I've tested is: Peterson 2 Smith 6 Baxter 1.35 Peterson 3.1 McDonald 5.4 Baxter 3.4 McDonald 0.6 Baxter 1.25 The output is: Baxter McDonald Smith I made sure to test with duplicate highest values. The TreeMap made sense to me as we can easily look at the last Key using the lastKey() met
    • 6/17/20
    • 715views
    • 6comments
    0
  • dhanush
    Level 30
    Chennai
    Question about the task Task about algorithms
    Java Syntax, Level 9, Lesson 11
    Resolved
    helpnull pointer exception error :(
    • 6/16/20
    • 744views
    • 2comments
    0
  • Angus McDonald
    Level 5
    Sydney
    Question about the task Snake (Part 10/20)
    Games, Level 0, Lesson 1
    Resolved
    I know this is going to be a simple fix.. I just can't see it.The move method.. it appears to work ok when I run the program.. not sure what to do.
    • 6/17/20
    • 752views
    • 2comments
    0
  • Balen Asangbeh
    Level 23
    Douala
    Question about the task Minimum byte
    Java Core, Level 8, Lesson 3
    Under discussion
    pls what is wrongpls what`s wrong
    • 4/3/19
    • 2310views
    • 8comments
    0
  • Carlos Angeles
    Level 6
    Columbia
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    My code works, but it's saying it is wrong?Im not sure what's wrong, but the last condition says my code is wrong. Can someone help please?
    • 6/17/20
    • 758views
    • 1comment
    0
  • Stephen Haokip
    Level 8
    imphal
    Question about the task Remove and insert
    Java Syntax, Level 7, Lesson 6
    Under discussion
    i believethe question majority in this section are incomplete. for the answer to be right the question has to be precise n complete.
    • 6/17/20
    • 603views
    • 1comment
    0
  • Belinda
    Level 4
    Portland
    Question about the task Financial expectations
    Java Syntax, Level 3, Lesson 12
    Under discussion
    Typo error? Can't find it.package com.codegym.task.task03.task0325.Solution; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Solution { public static void main (String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamRe
    • 6/17/20
    • 654views
    • 9comments
    0
  • Sebastian
    Level 9
    Dornum
    Question about the task Minesweeper (Part 4/16)
    Games, Level 0, Lesson 0
    Under discussion
    Can´t find my mistakeHey, why does it not verify the last requirements?
    • 6/7/20
    • 885views
    • 1comment
    0
  • Matthew Max
    Level 29
    Giza
    Question about the task Reinforce the singleton pattern
    Java Core, Level 5, Lesson 12
    Resolved
    Any advice please I'm getting frustrated hereI did everything as the book says but it still not match one requirement
    • 6/17/20
    • 701views
    • 5comments
    0
  • Edddieg
    Level 15
    Providence
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Resolved
    please helpmy code is running correctly but not passing ... please help
    • 6/17/20
    • 733views
    • 2comments
    0
  • Stephen Haokip
    Level 8
    imphal
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    m stuck herewith the last condition not met i cannot see my mistakes even after several attemps need help
    • 6/17/20
    • 526views
    • 3comments
    0
  • Stephen Haokip
    Level 8
    imphal
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Resolved
    guys i recheck it again and againbut could not found where did i go wrong plis help
    • 6/6/20
    • 684views
    • 3comments
    0
  • Niklas Braun
    Level 33
    Freiburg
    Question about the task Read online about the median of a sample
    Java Multithreading, Level 6, Lesson 2
    Under discussion
    last condition not satisfiedProgram does what it should. I have no idea whats wrong?
    • 6/12/20
    • 665views
    • 3comments
    0
  • Danny
    Level 1
    Broomfield
    Resolved
    I don't know what to do?I am going through the lessons but I completed them and now I am just using my dark matter to get to lessons. I want to earn dark matter, not use dark matter.
    • 8/12/19
    • 1091views
    • 2comments
    2
  • Milos
    Level 20
    Beograd
    Question about the task Most frequent bytes
    Java Core, Level 8, Lesson 3
    Resolved
    Hm, what it can be?package com.codegym.task.task18.task1803; import java.io.FileInputStream; import java.io.*; import java.util.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    • 1/23/20
    • 1403views
    • 7comments
    1
  • Peter Karanyi
    Level 9
    Cowplain
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Resolved
    Why does it fail when it works perfectly, and the output is correct?My output is correct, yet the last requirement fails! Could someone tell me, why?
    • 6/17/20
    • 707views
    • 1comment
    0
  • Seferi
    Level 22
    Question about the task Creating cats
    Java Syntax, Level 5, Lesson 9
    Resolved
    what am I doing wrong?Little help on the right direction is appreciated. Thanks in advance..
    • 6/16/20
    • 639views
    • 4comments
    0
  • Stephen Haokip
    Level 8
    imphal
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    i succeeded in finding/printing the longest string. but i have no idea how to print/display multiple longest string. even after multiple attempts. plis help me
    • 6/16/20
    • 562views
    • 1comment
    0
  • 1
  • ...
  • 180
  • 181
  • 182
  • 183
  • 184
  • ...
  • 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