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
  • Adnan Razzaq
    Level 15
    Bamberg
    Question about the task Streets and houses
    Java Syntax, Level 7, Lesson 4
    Archived
    can someone identify an issue why it is not verfiying?package com.codegym.task.task07.task0706; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /* Streets and houses */ public class Solution { public static void main(String[] args) throws Exception { //write your code here int[]array
    • 6/27/19
    • 1591views
    • 6comments
    0
  • Jason Good
    Level 22
    Leeds
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Under discussion
    Gives correct output but doesn't pass final criterion.Please help.
    • 5/24/20
    • 538views
    • 2comments
    0
  • Jonas
    Level 41
    Vilnius
    Question about the task Find the class by its description
    Java Collections, Level 6, Lesson 10
    Resolved
    How to do this task? Can you explain the logic, please?Thank you very much
    • 3/25/20
    • 1358views
    • 6comments
    0
  • Lisha .
    Level 0
    chennai
    Under discussion
    will i get certificate for this
    • 5/23/20
    • 616views
    • 1comment
    0
  • JianQiu Hwang
    Level 35
    Washington
    Question about the task CashMachine (part 8)
    Java Collections, Level 9, Lesson 15
    Under discussion
    I Get Wrong For LowerCase with currencyCodeWhy do I Get Wrong For LowerCase with currencyCode?
    • 5/21/20
    • 582views
    • 3comments
    0
  • Kaushik Ashutosh Raj
    Level 8
    Bangalore
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    There is no way to enter input through the keyboard..
    • 8/22/18
    • 2333views
    • 8comments
    0
  • Connor
    Level 8
    Boston
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Under discussion
    Isn't printing and I don't know why.At this point I feel like it's something stupid that I'm overlooking but I've been working on this one almost since I woke up. Now I have to go to work so I'm like smacking myself because I can't figure out WHAT I'm doing wrong. Very frustrating for me right now. package com.codegym.task.task03.ta
    • 4/12/19
    • 1750views
    • 10comments
    0
  • Odhran
    Level 18
    Sheffield
    Question about the task Time conversion
    Java Syntax, Level 3, Lesson 5
    Resolved
    No task conditions are met - I dont get why, calls the method twice onto new lines, takes and receives the int value from the main, target result is achieved - how is it completely wrong?package com.codegym.task.task03.task0312; /* Time conversion */ public class Solution { public static void main(String[] args) { System.out.println(convertToseconds(15)); System.out.println(convertToseconds(20));//write your code here } public static int co
    • 11/24/19
    • 1530views
    • 4comments
    0
  • Henry
    Level 6
    Stuttgart
    Question about the task Walking in circles
    Java Syntax, Level 5, Lesson 9
    Under discussion
    hiPls i would like someone to hint me how to correct my mistake at the last constructor
    • 5/24/20
    • 683views
    • 1comment
    0
  • hidden #10426237
    Level 7
    Question about the task Financial expectations
    Java Syntax, Level 3, Lesson 12
    Under discussion
    Can,t find the typo.Can,t find the typo.
    • 2/22/19
    • 1896views
    • 5comments
    0
  • Van Ha
    Level 41
    Bodegraven
    Question about the task Archiver (part 9)
    Java Multithreading, Level 7, Lesson 15
    Resolved
    What's wrong with the relative path?Hi, Getting this from the validator: When the collectFileList(Path path) method receives a regular file, the method must add its path relative to rootPath to the fileList field. As far as I can see I'm getting the relative path from the path object. I also already have tried it the other way around
    • 3/11/20
    • 1151views
    • 3comments
    0
  • dhanush
    Level 30
    Chennai
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Resolved
    help me outevery thing is fine but the last two conditions is not getting verified help me out! :(
    • 5/23/20
    • 627views
    • 2comments
    0
  • dhanush
    Level 30
    Chennai
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 4
    Resolved
    else without ifI don't know why I'm getting this error help me to find my error :(
    • 5/23/20
    • 2092views
    • 4comments
    0
  • dhanush
    Level 30
    Chennai
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Resolved
    pay raiseI couldn't find space atfter the symbol (:) and before the dollers. help me out to find out
    • 5/18/20
    • 481views
    • 2comments
    0
  • Hendra
    Level 8
    Medan
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Under discussion
    what's wrong with my code? it can't compile
    • 5/24/20
    • 566views
    • 1comment
    0
  • hidden #10602322
    Level 3
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Under discussion
    what we write in it TypeOfObjectBeingCreated
    • 4/20/20
    • 998views
    • 2comments
    0
  • Henk
    Level 19
    Pretoria
    Question about the task Request parser
    Java Core, Level 5, Lesson 12
    Resolved
    Works when testing, please help Not sure what they want, works with both examples if I hardcode them as URL's. Requirements specifications SUCK for THIS task....
    • 5/28/19
    • 2383views
    • 5comments
    0
  • oli blaustrom
    Level 18
    Luzern
    Question about the task Cats
    Java Core, Level 4, Lesson 4
    Under discussion
    No empty string is ever added, why doesn't this work?So the s.equals never executes, and scanner doesn't read beyond the last line. I think this program works correctly.
    • 12/29/19
    • 1383views
    • 5comments
    0
  • Stefan Maric
    Level 22
    Frankfurt
    Question about the task Sequential file output
    Java Core, Level 6, Lesson 13
    Under discussion
    5th. condition is not verified. Guys is there anyone who can tell me where my mistake is? I am getting requested output but solution doesn't verify. As you can see through code I have tried all kind of options and still I am getting this : Be sure that the getFileContents method returns an empty string if the run method has not be
    • 5/22/20
    • 724views
    • 7comments
    0
  • Laurence
    Level 10
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Under discussion
    Help with the last condition would be greatly appreciatedI'm failing the last condition and can't understand why. I'm unsure if it's related but when I run it through a compiler with digits lower than -128 it doesn't register them in sequence.
    • 5/23/20
    • 557views
    • 1comment
    0
  • Andreea
    Level 9
    Question about the task 2048 (Part 9/18)
    Games, Level 0, Lesson 2
    Resolved
    I don't understand why the last conditions are not satisfiedI called the methods in the onKeyPress() but I don't understand why this isn't working
    • 5/22/20
    • 818views
    • 2comments
    0
  • Viktor Blank
    Level 14
    Berlin
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    Need help with ArraylistHello everyone, somehow i can't get this done right, although all the test i"ve done are good. Also when the smallest element is the last one. Where is the mistake? Thanks in advance
    • 1/4/20
    • 1695views
    • 1comment
    1
  • Oliver Heintz
    Level 18
    Mustang
    Question about the task Sum of the digits of a three-digit number
    Java Syntax, Level 3, Lesson 12
    Under discussion
    It works, but I still fail...I know this isn't the way that "real" programmers would solve this problem, but this is the first thing I thought of. I know that my a, b, and c are correctly identified as 5, 4, and 6, and it prints out the correct sum of 15. But I still fail the last requirement. WHY?!
    • 5/22/20
    • 949views
    • 5comments
    0
  • Kamil
    Level 31
    Near Warsaw
    Question about the task Shortener (9)
    Java Collections, Level 6, Lesson 15
    Under discussion
    Hello, much appreciated if you could tell me what's wrongTried a few things but didn't work, so I put it here as I left it.
    • 5/14/20
    • 550views
    • 4comments
    0
  • Clark
    Level 17
    Berlin
    Question about the task Moon Lander (Part 19/23)
    Games, Level 0, Lesson 4
    Resolved
    Why does the 4. condition failed?Maybe I misunderstood the fourth requirement. Would be great if someone could help me with this.
    • 5/22/20
    • 509views
    • 4comments
    0
  • Rafał Pawłowski
    Level 22
    Southampton
    Question about the task Countdown at the races
    Java Core, Level 6, Lesson 10
    Under discussion
    Why is my solution wrong?The RaceClock object must decrease the numSeconds value by one every second (but it does!)
    • 5/22/20
    • 754views
    • 1comment
    0
  • Radosław Dziura
    Level 16
    Question about the task Different methods for different types
    Java Core, Level 5, Lesson 12
    Resolved
    Can somebody help me please?On top of that I wanted to ask, if it's allowed to execute method call inside catch block? package com.codegym.task.task15.task1519; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; /* Different methods for different types 1. Read data from the conso
    • 5/20/20
    • 1085views
    • 2comments
    0
  • Jeffrey Cabral
    Level 4
    Chester
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Why does this format work but not other for task #3 & #4?Why does below code work: Man man = new Man(); Woman woman = new Woman(); woman.husband = man; man.wife = woman; But below code won't work?: Man man = new Man(); Woman woman = new Woman(); man = woman.husband; woman = man.wife;
    • 4/22/20
    • 1421views
    • 2comments
    1
  • Sidd
    Level 7
    Maple Valley
    Question about the task The humble programmer
    Java Syntax, Level 3, Lesson 8
    Under discussion
    ??Why dis no work?
    • 5/21/20
    • 533views
    • 3comments
    0
  • Tata
    Level 16
    Hisar, Haryana
    Question about the task Getters and setters for the Dog class
    Java Syntax, Level 5, Lesson 5
    Resolved
    why do we use void in set method . As I know that it doesn't return any value but clearify this to understand to me please.all answers will be appreciated. 🙂
    • 5/21/20
    • 1018views
    • 2comments
    0
  • 1
  • ...
  • 191
  • 192
  • 193
  • 194
  • 195
  • ...
  • 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