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
  • Harika Yantrapragada
    Level 7
    Hyderabad
    Question about the task More conversions
    Java Syntax, Level 3, Lesson 8
    Resolved
    Can you help me out with the logic How to convert double into int
    • 01.11.2018
    • 1845views
    • 10comments
    0
  • PEgaz
    Level 40
    Katowice
    Question about the task More conversions
    Java Syntax, Level 3, Lesson 8
    Under discussion
    Good result when code is running, but failure in veryfication. Please, help.Hi, everyone, Unfortunately I don;t get it why the task still shows me an error during confirmation. Whatever input I enter - I also seem to have correct result in output - please help. code: package com.codegym.task.task01.task0131; import java.io.*; /* More conversions */ public class Solut
    • 26.03.2020
    • 985views
    • 2comments
    0
  • hanumohan
    Level 25
    San Jose
    Question about the task Arkanoid (part 11)
    Java Multithreading, Level 3, Lesson 13
    Resolved
    Print method failing, any know i what i did mistake package com.codegym.task.task24.task2413; public class Canvas { private int width; private int height; private char[][] matrix; public int getWidth() { return width; } public int getHeight() { return height; } public char[][] getMatrix() {
    • 25.05.2020
    • 607views
    • 3comments
    0
  • Talia Mullen-Humphreys
    Level 11
    Radcliffe
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Resolved
    Why does my code not work for the following sequence: 1, 1, 1, 2, 2, 2, 1, 1, 2, 2. Expected output: 3I can't figure it out!
    • 24.05.2020
    • 532views
    • 1comment
    0
  • moseka
    Level 23
    Nairobi
    Question about the task Census
    Java Syntax, Level 8, Lesson 8
    Resolved
    Correct output but not verifyingKindly, someone help me to know what is the problem with the code
    • 25.05.2020
    • 848views
    • 2comments
    0
  • 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
    • 27.06.2019
    • 1469views
    • 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.
    • 24.05.2020
    • 470views
    • 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
    • 25.03.2020
    • 1268views
    • 6comments
    0
  • Lisha .
    Level 0
    chennai
    Under discussion
    will i get certificate for this
    • 23.05.2020
    • 539views
    • 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?
    • 21.05.2020
    • 514views
    • 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..
    • 22.08.2018
    • 2214views
    • 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
    • 12.04.2019
    • 1634views
    • 10comments
    0
  • Odhran
    Level 1
    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
    • 24.11.2019
    • 1407views
    • 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
    • 24.05.2020
    • 618views
    • 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.
    • 22.02.2019
    • 1771views
    • 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
    • 11.03.2020
    • 1049views
    • 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! :(
    • 23.05.2020
    • 562views
    • 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 :(
    • 23.05.2020
    • 1978views
    • 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
    • 18.05.2020
    • 410views
    • 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
    • 24.05.2020
    • 489views
    • 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
    • 20.04.2020
    • 920views
    • 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....
    • 28.05.2019
    • 2252views
    • 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.
    • 29.12.2019
    • 1300views
    • 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
    • 22.05.2020
    • 619views
    • 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.
    • 23.05.2020
    • 488views
    • 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
    • 22.05.2020
    • 735views
    • 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
    • 04.01.2020
    • 1586views
    • 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?!
    • 22.05.2020
    • 851views
    • 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.
    • 14.05.2020
    • 462views
    • 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.
    • 22.05.2020
    • 432views
    • 4comments
    0
  • 1
  • ...
  • 189
  • 190
  • 191
  • 192
  • 193
  • ...
  • 372
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 © 2025 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2025 CodeGym