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
  • dpp
    Level 8
    Colombo
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    I've input the code many times in many ways. What is wrong with this?What's wrong with this?
    • 4/20/19
    • 1885views
    • 6comments
    0
  • zuber
    Level 3
    Pune
    Question about the task Minimum of two numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    help me to find out error public static int min(int a, int b) { //write your code here int m; if (a>b) m = a; else // (a>b) m = b; return m;
    • 9/1/18
    • 2514views
    • 9comments
    3
  • Kamil
    Level 31
    Near Warsaw
    Question about the task Shortener (5)
    Java Collections, Level 6, Lesson 15
    Resolved
    Is this a joke or something?Codegym validation is taking the piss sometimes, literally. How'd get it to work?
    • 4/23/20
    • 901views
    • 3comments
    0
  • Dawid
    Level 7
    Nottingham
    Question about the task Changing functionality
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Not meeting ANY requirements.Can someone help me please? Somehow it doesn't meet ANY requirements... even reading data from keyboard....
    • 4/22/20
    • 984views
    • 1comment
    0
  • SauceCode
    Level 2
    Johannesburg
    Question about the task 2048 (Part 10/18)
    Games, Level 0, Lesson 2
    Resolved
    It seems I can't solve the first requirement.The rest of my code did satisfy all other requirements but not first. Any idea why?
    • 4/21/20
    • 1349views
    • 3comments
    0
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task Overriding serialization in a thread
    Java Core, Level 10, Lesson 10
    Under discussion
    What is wrong in my code?need help
    • 4/16/19
    • 1815views
    • 4comments
    0
  • Cam
    Level 15
    Bogota
    Question about the task Console-based piggy bank
    Java Syntax, Level 5, Lesson 12
    Under discussion
    i'm not sureso I've been trying out several ways to resolve this task but I seem to always run into NumberFormatException.java:65 so I guess everything I'm trying is trying to convert the string "sum" to numbers and I'm not sure how to get rid of that issue...
    • 4/23/20
    • 999views
    • 2comments
    0
  • ddi
    Level 18
    Dortmund
    Question about the task HashMap of Objects
    Java Syntax, Level 8, Lesson 3
    Resolved
    Completly lost... What should i do? Pls Help!I don´t know how to resolve this and i am completly lost. How could i improve my knowledge about HashMap?
    • 6/26/19
    • 1682views
    • 3comments
    0
  • Ana Maria iacob
    Level 7
    Rimini
    Question about the task Good or bad?
    Java Syntax, Level 4, Lesson 4
    Resolved
    Someone explain me why doesn t work? pls I don t understand why doesn t work?
    • 9/7/19
    • 2043views
    • 4comments
    0
  • Philip Obiorah
    Level 16
    Port - Harcourt
    Question about the task GCD
    Java Core, Level 4, Lesson 8
    Resolved
    Help: second condition not verifyingpackage com.codegym.task.task14.task1420; import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(Syste
    • 4/22/20
    • 1018views
    • 2comments
    0
  • Ntuthuko Xaba
    Level 18
    Johannesburg
    Question about the task Clew
    Java Core, Level 6, Lesson 13
    Under discussion
    Confused !?This is my code for this task after finding the answer in the help section. public void showWarning(){ this.stop(); } public void run(){ while(isAlive()){} } What I don't understand is , how does this thread ever call the showWarning method? Fro
    • 4/19/20
    • 1279views
    • 5comments
    0
  • Henry Yao
    Level 22
    Pasadena
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Under discussion
    What's wrong? please help here is warnig, do not understand ! Be sure that you display the index of the first element that violates the order, and not its ordinal number. The first index is 0.
    • 3/23/20
    • 1556views
    • 3comments
    0
  • Michael Brimage
    Level 19
    Washington D.C.
    Question about the task File in a static block
    Java Core, Level 5, Lesson 12
    Under discussion
    HelpI am getting the correct output but still not validating. I am using intelliJ.
    • 4/20/20
    • 1108views
    • 3comments
    2
  • hidden #10602322
    Level 3
    Question about the task Pets need people
    Java Syntax, Level 2, Lesson 5
    Resolved
    how to assign an owner?cat.owner = woman; is we adding reference toto an object am correct please tell me. If I am wrong then correct me then tell me what is actually is (︺︹︺)
    • 4/21/20
    • 1733views
    • 2comments
    0
  • Mateusz
    Level 36
    Wroclaw
    Question about the task Archiver (part 17)
    Java Multithreading, Level 7, Lesson 15
    Resolved
    Hi problem with solution :( Hi guys, Help me with this task because I don't see any error(bug) and the program on my computer is working properly. If I verify my solution,then i will receive this error message (and a tip): error: "The addFiles method must write the new files as well as all of the old archive's files to the new
    • 2/23/20
    • 1454views
    • 2comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Superfluous synchronization
    Java Core, Level 7, Lesson 10
    Under discussion
    Last condition plsHelp me
    • 6/28/19
    • 1704views
    • 4comments
    0
  • hidden #10602322
    Level 3
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Resolved
    print methodwhat is print method is how it implement 😐❓
    • 4/19/20
    • 1225views
    • 4comments
    0
  • Inderdeep Singh
    Level 1
    Toronto
    Question about the task 2048 (Part 17/18)
    Games, Level 0, Lesson 2
    Under discussion
    can't fulfill two conditions Please Helpi am not able to figure out the issue with the code
    • 4/22/20
    • 958views
    • 1comment
    0
  • yi
    Level 20
    Toronto
    Question about the task Arranging calls to join()
    Java Core, Level 6, Lesson 5
    Under discussion
    What am I doing wrong ?Can someone help with this ? Thx.
    • 1/5/20
    • 1284views
    • 3comments
    1
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task 2048 (Part 10/18)
    Games, Level 0, Lesson 2
    Under discussion
    Help meNot Able to verify
    • 3/20/20
    • 1374views
    • 1comment
    0
  • vaishnavi shrivastava
    Level 13
    bhopal
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Under discussion
    What is the problemwhat is the problem here? It is showing problem in triangle is not possible!
    • 4/22/20
    • 924views
    • 1comment
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task 2048 (Part 18/18)
    Games, Level 0, Lesson 2
    Resolved
    Bug in the game?I've finished and implemented the game (here) However, there seems to be a couple of issues: 1) Tiles disappear randomly - after a few merges, the tile will just vanish; I haven't been able to get a tile above 32 before it vanishes 2) Can't see the score during the game Anyone else had these issues
    • 4/3/20
    • 1170views
    • 6comments
    0
  • Art
    Level 13
    Chisinau
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Can't understand 4th taskExplain the 4th task please..
    • 2/27/20
    • 1111views
    • 5comments
    0
  • Christian Djanea
    Level 7
    Mount Laurel
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Under discussion
    All, I need help with this task. Could anyone give me a hint? ThanksAll, I need help with this task. Could anyone give me a hint? Thanks
    • 4/22/20
    • 1147views
    • 1comment
    0
  • Kingsten Banh
    Level 22
    Newark
    Question about the task Reading and writing to a file: CodeGym
    Java Core, Level 10, Lesson 2
    Under discussion
    The codeGym.equals(loadedObject) returns true, but never pass the testI have the check for each property but somehow it still doesn't pass.
    • 5/1/19
    • 1935views
    • 2comments
    0
  • yz
    Level 37
    Jakarta
    Question about the task Shortener (14)
    Java Collections, Level 6, Lesson 15
    Resolved
    is there any sneaky thing???
    • 4/17/20
    • 1155views
    • 2comments
    0
  • Bryce Lindley
    Level 9
    Olympia
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Resolved
    last requirement not being met from toString() method.I believe I need nested if statements but am having gathering brain matter solving this last scenario. Do I need to switch the order? Thank you.
    • 4/21/20
    • 1335views
    • 2comments
    0
  • Daniel
    Level 15
    Colnbrook
    Question about the task Reading a file
    Java Core, Level 3, Lesson 11
    Archived
    "The program displays too few lines."I tried print, println. Can't really figure it out. Any ideas?
    • 4/21/20
    • 1135views
    • 8comments
    0
  • Alexandre Lalancette
    Level 41
    Quebec
    Question about the task Using TreeSet
    Java Collections, Level 6, Lesson 8
    Under discussion
    There's no first parameter... I get ArrayIndexOutOfBoundsExceptionIs there a bug in this task because it seems like there's no filename as the first parameter in the main method...
    • 2/9/20
    • 1237views
    • 2comments
    0
  • Vaibhavi
    Level 5
    Vijayawada
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Resolved
    Please explain the below code where I am going wrong that entire loop is not getting printedPlease explain the below code where I am going wrong that entire loop is not getting printed
    • 11/29/19
    • 1677views
    • 4comments
    0
  • 1
  • ...
  • 208
  • 209
  • 210
  • 211
  • 212
  • ...
  • 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