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
  • Kasia
    Level 22
    Zabrze
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    Help with sorting the code problemThe output is correct but it doesn't pass the last verification statement (The min(a, b, c, d) method must return the minimum of the numbers a, b, c, and d.) Any help appreciate (and apologies for not presenting the code in my first attempt to ask for help:))
    • 10/1/20
    • 698views
    • 4comments
    0
  • sergio
    Level 7
    Colorado
    Question about the task Labels and numbers
    Java Syntax, Level 4, Lesson 7
    Resolved
    im lost please helpim lost....
    • 10/1/20
    • 739views
    • 4comments
    0
  • Craig
    Level 8
    Naperville
    Question about the task In decreasing order
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Can someone help me make sense of why this is failing?thanks
    • 10/1/20
    • 543views
    • 2comments
    0
  • AlfredW
    Level 23
    Denver
    Question about the task Two in one
    Java Core, Level 8, Lesson 11
    Under discussion
    This is working perfectly, but it won't verify.I don't understand why this won't verify. I have tested it and it works perfectly. Here are the files created. As you can see the second and third files are added to the first. So I don't understand the messages in the verification.
    • 10/1/20
    • 517views
    • 2comments
    0
  • WIDMO
    Level 25
    Gdańsk
    Question about the task Number algorithms
    Java Core, Level 10, Lesson 10
    Under discussion
    HELP please.I tried 0/1 at the beginning, I also used something like this: public static ArrayList<Long> list; if (N>1) list.add(1l); if (N>2) list.add(2l); if (N>3) list.add(3l); if (N>4) list.add(4l); if (N>5) list.add(5l); if (N>6) lis
    • 8/15/20
    • 889views
    • 5comments
    0
  • Arko Sarkar
    Level 8
    Mumbai
    Question about the task Somehow average
    Java Syntax, Level 4, Lesson 16
    Under discussion
    Where is the problem in my code?Getting errors for showing middle and two of three equal requirements!
    • 8/26/18
    • 2021views
    • 9comments
    0
  • Tom ford
    Level 15
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Resolved
    Last check not passingHelp
    • 9/29/20
    • 623views
    • 2comments
    0
  • Pablo Souza
    Level 22
    Brisbane
    Question about the task Faster together? We'll see :)
    Java Core, Level 7, Lesson 2
    Under discussion
    Can't quite understandCould anyone please explain what's going on in this program? I don't understand what it's supposed to help us visualise. When I run the program, I don't understand why it's flagging false when results is identical to expected results (I decreased the size of the array to 50 so I could make sure that
    • 4/28/20
    • 985views
    • 2comments
    1
  • Yuliya Samsonava
    Level 3
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    illegal start of expression line 21, position 358package com.codegym.task.task02.task0217; /* Minimum of four numbers */ public class Solution { public static int min(int a, int b, int c, int d) { // int m; if (f <= c && a <= d) { m = f; } else if (c <= f && c <
    • 9/23/20
    • 845views
    • 5comments
    0
  • Шарох
    Level 12
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    Hello coders!what's the problem with my code?
    • 9/28/20
    • 893views
    • 4comments
    0
  • David
    Level 26
    Bucharest
    Question about the task Refactoring Rectangle
    Java Multithreading, Level 4, Lesson 4
    Resolved
    Why??First I have tried this and didn't work: public HasWidth castToHasWidth() { class Inneer implements HasWidth{ @Override public double getWidth() { return Math.abs(point1.getX() - point2.getX()); } }
    • 9/30/20
    • 656views
    • 2comments
    0
  • Tamas Horcsak
    Level 18
    Leeds
    Question about the task ConsoleReader class
    Java Syntax, Level 6, Lesson 8
    Under discussion
    I could do this task but my question is: I thought normally we need to invoke the Scanner once in the main method but didn't work and then I tried in the first line of ConsolReader class but didnt work. I thought once we imported the Scanner class it is reachable anywhere within the package. So not package com.codegym.task.task06.task0610; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; public class ConsoleReader { //Scanner sc = new Scanner(System.in); public static String readString() throws Exception { Scanner sc = new Scanner(System.
    • 10/1/20
    • 653views
    • 1comment
    0
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task Creating threads recursively
    Java Core, Level 6, Lesson 13
    Under discussion
    What is wrong in my code?output: 1 created 2 created 3 created 5 created 7 created 4 created 10 created 12 created 14 created 8 created 6 created 15 created 13 created 11 created 9 created
    • 2/28/19
    • 2110views
    • 6comments
    0
  • Chris
    Level 19
    Newark
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Under discussion
    How to solveCan someone please help me finish this one. I've been stuck on this chapter for 2 weeks.
    • 9/26/20
    • 502views
    • 3comments
    0
  • Rim
    Level 11
    Bucharest
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Under discussion
    why it don t pass the testits run but i dont pass condition3
    • 10/1/20
    • 693views
    • 1comment
    0
  • sergio
    Level 7
    Colorado
    Question about the task Escaping characters
    Java Syntax, Level 3, Lesson 6
    Resolved
    not sure whats wrongit keeps telling me there is a problem with line 11 ')' ????
    • 9/30/20
    • 641views
    • 3comments
    0
  • Chris
    Level 19
    Newark
    Question about the task Display numbers in reverse order
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Can someone please help.I am really confused I guess in the directions. By reversing the array doesn't that mean you are reversing the contents inside the array as well?
    • 9/30/20
    • 589views
    • 1comment
    0
  • Ilia Kalugin
    Level 25
    Novara
    Question about the task Minesweeper (Part 9/16)
    Games, Level 0, Lesson 0
    Resolved
    I am stuckThe first condition is not met
    • 9/27/20
    • 585views
    • 3comments
    0
  • Lars Hoogma
    Level 19
    Sneek
    Question about the task Prices 2
    Java Core, Level 8, Lesson 11
    Resolved
    Can anyone explain why my 3rd and 4th requirements are not met? package com.codegym.task.task18.task1828; /* Prices 2 */ import java.io.*; import java.util.*; public class Solution { public static void main(String[] args) throws IOException { //The program should read a file name for CrUD operations from the console. BufferedReader read
    • 9/30/20
    • 666views
    • 2comments
    0
  • gabe
    Level 6
    Greenville
    Question about the task Labels and numbers
    Java Syntax, Level 4, Lesson 7
    Resolved
    dunno what went wrongtitle
    • 9/30/20
    • 833views
    • 2comments
    0
  • Alexandre Lalancette
    Level 41
    Quebec
    Question about the task Chat (part 16)
    Java Multithreading, Level 6, Lesson 15
    Under discussion
    Is there a bug or something with the validation tool?I don't understand what is wrong with the code...
    • 1/17/20
    • 1448views
    • 7comments
    0
  • Carli Eubanks
    Level 15
    San Diego
    Question about the task Min and max in arrays
    Java Syntax, Level 7, Lesson 12
    Resolved
    I keep failing the third conditionThe output came back correct, but the third condition failed. I can't find the error so any help would be greatly appreciated.
    • 9/29/20
    • 822views
    • 5comments
    2
  • Lawson
    Level 29
    Lagos
    Question about the task Arkanoid (part 9)
    Java Multithreading, Level 3, Lesson 13
    Resolved
    Help plssssss.....Pls I've tried all I can and it keeps saying It doesn't initialise correctly
    • 9/26/20
    • 478views
    • 5comments
    0
  • Dorin Chira
    Level 15
    Horsens
    Question about the task OOP: Books
    Java Core, Level 5, Lesson 2
    Under discussion
    The problem everybody hasThe MarkTwainBook class constructor should call the constructor of the parent class (Book) with the argument "Mark Twain". To pass this you have to name the field: "title" . or you wont pass. I was using bookTitle and it was giving me errors
    • 9/29/20
    • 558views
    • 1comment
    0
  • Wouter Van Kerschaver
    Level 6
    Oostende
    Question about the task Snake game (Part 4/20)
    Games, Level 0, Lesson 1
    Resolved
    draw method must be called on created appleAs far as i can see i am using the draw method on the created apple ..........
    • 7/15/19
    • 2780views
    • 5comments
    2
  • Павел Артеменко
    Level 41
    Krasnodar
    Question about the task 2048 (part 15)
    Java Multithreading, Level 10, Lesson 15
    Under discussion
    What am I doing wrong?Somehow can't get it verified.
    • 5/31/19
    • 1721views
    • 4comments
    0
  • umidbek
    Level 17
    Tashkent
    Question about the task Visitors
    Java Core, Level 2, Lesson 12
    Resolved
    What is the problem here? The first requirement isn't accepted.public class Solution { public static void main(String[] args) { System.out.println(getObjectType(new Cat())); System.out.println(getObjectType(new Tiger())); System.out.println(getObjectType(new Lion())); System.out.println(getObjectType(new Bull())); Sys
    • 9/29/20
    • 638views
    • 4comments
    0
  • Seferi
    Level 22
    Question about the task CRUD 2
    Java Core, Level 7, Lesson 10
    Resolved
    whats wrong with the switch statement?Help is appreciated
    • 9/29/20
    • 624views
    • 3comments
    0
  • Pioniio
    Level 22
    Schaffhausen
    Question about the task Big Ben
    Java Core, Level 6, Lesson 7
    Resolved
    Program ran too long and was closedthe output looks like the example, but i get the error message that it run too long. where is the mistake? thanks
    • 6/2/19
    • 1823views
    • 3comments
    2
  • BlueJavaBanana
    Level 37
    Question about the task Inheriting an inner class
    Java Multithreading, Level 4, Lesson 4
    Resolved
    No idea whats wrong? Any clues?Not passing but it is doing as required?
    • 8/2/20
    • 760views
    • 3comments
    0
  • 1
  • ...
  • 132
  • 133
  • 134
  • 135
  • 136
  • ...
  • 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