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
  • Jeff Jeffy
    Level 15
    Irvine
    Question about the task Improving functionality
    Java Syntax, Level 5, Lesson 12
    Resolved
    What?Uh... whats wrong?
    • 5/5/19
    • 2116views
    • 2comments
    1
  • Joy Majumdar
    Level 16
    Kolkata
    Question about the task Reading a file
    Java Core, Level 3, Lesson 11
    Archived
    It says program displays few lines what that means ?Help
    • 7/6/19
    • 1540views
    • 3comments
    0
  • Noah Keller
    Level 15
    Offenburg
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Resolved
    Can you tell me what is wrong for the task conditions?Hey community, programm works fine by pressing "Run" but doesnt fullfill the requirements of the task for some reasons? Can you maybe help me figure them out ? Thank you ! Noah
    • 8/9/19
    • 1600views
    • 3comments
    0
  • Jeremy Simons
    Level 7
    Peterborough, Cambridgeshire, UK
    Question about the task Console-based piggy bank
    Java Syntax, Level 5, Lesson 12
    Under discussion
    I can't get it to print outside of the loop?I can't get it to print outside of the loop?
    • 8/18/19
    • 1442views
    • 2comments
    0
  • Ciro Wan
    Level 2
    Oyama
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Resolved
    Guys please tell me what is wrong about my code.Thanks in advance.
    • 7/23/19
    • 1605views
    • 2comments
    2
  • Bryce Lindley
    Level 9
    Olympia
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    even two digit number error Any suggestions tips, and or reasons the even two digit is not working? I'm assuming it has to do with the else if's Thanks :)
    • 8/28/19
    • 1640views
    • 2comments
    0
  • RKVengatesh
    Level 12
    Tirunelveli
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Resolved
    Got correct results....But error in verifying last condition.......Any one help... Any one help ....Answer is correct but what is wrong ....?Why there is an error showing...?
    • 11/20/18
    • 1917views
    • 3comments
    0
  • Brett Politzer
    Level 5
    Mililani
    Question about the task Minesweeper (Part 4/16)
    Games, Level 0, Lesson 0
    Under discussion
    Failed the task condition populate each cell of the gameField array with a new GameObject object My code fails the following task condition: In the createGame method(), you need to populate each cell of the gameField array with a new GameObject object with corresponding x and y coordinates. Why doesn't line 14 in MinesweeperGame.java meet this condition ?
    • 8/27/19
    • 1791views
    • 2comments
    0
  • deemneem
    Level 11
    Mumbai
    Question about the task The code won't compile…
    Java Syntax, Level 9, Lesson 11
    Under discussion
    while loop semicolon removed destination changed to sourcehelp
    • 8/28/19
    • 1779views
    • 1comment
    0
  • Cheikh
    Level 7
    Dakar
    Question about the task Roy G. Biv…
    Java Syntax, Level 3, Lesson 6
    Resolved
    Resolved it but still don't understand Hello guys, For this task, I don't get the fact that you don't need to call for the method inside the classes For example in this Red class: public static class Red{ public Red(){ System.out.println("Red"); } } What would happen if we didn't just display a phrase but had to return a value? Would
    • 8/17/19
    • 1858views
    • 2comments
    0
  • JeRiF94
    Level 22
    Baku
    Question about the task CRUD
    Java Core, Level 7, Lesson 10
    Under discussion
    I am not understandinI am in trouble about 2 weeks and I can't solve this tasks.
    • 6/12/19
    • 1305views
    • 1comment
    0
  • Arvind Prakhar
    Level 7
    Dhanbad
    Question about the task Constructor
    Java Syntax, Level 5, Lesson 9
    Under discussion
    plzzz!!!!!helpp
    • 11/9/18
    • 1606views
    • 2comments
    0
  • hacks patel
    Level 20
    Ahmedabad
    Question about the task Constructor
    Java Syntax, Level 5, Lesson 9
    Under discussion
    i can't understand ....anythingi can't understand ....anything
    • 12/18/18
    • 1814views
    • 3comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Everything ingenious is simple!
    Java Multithreading, Level 1, Lesson 2
    Under discussion
    Help me plsNeed help
    • 6/30/19
    • 1476views
    • 2comments
    0
  • Henry
    Level 6
    Stuttgart
    Question about the task Crazy eights
    Java Syntax, Level 2, Lesson 5
    Resolved
    How do i resolve this. I did it this way,it say too many variables and i did it just the first two examples: Cat cat2= new Cat(); the Cat cat3; using the same pattern 8 times then went further to create to additional variables,it still didnt work. Who can give me another idea because i do not know wHow do i resolve this. I did it this way,it say too many variables and i did it like the first two examples already in the main method: Cat cat2= new Cat(); the Cat cat3; using the same pattern 8 times then went further to create to additional variables,it still didnt work. Who can give me another i
    • 8/28/19
    • 1439views
    • 1comment
    0
  • Rupa Joshi
    Level 29
    Tokyo
    Question about the task Picking out numbers
    Java Core, Level 9, Lesson 5
    Under discussion
    solution is not verified. Can anyone point it out why?
    • 8/28/19
    • 1595views
    • 4comments
    0
  • Mykhailo Kuvshynov
    Level 8
    Dnipro
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Resolved
    Help me pleasecan't find where is problem
    • 8/23/19
    • 1792views
    • 3comments
    0
  • Mykola
    Level 14
    Toronto
    Question about the task Minimum of N numbers
    Java Syntax, Level 8, Lesson 11
    Resolved
    Can't pass one verification This step is throwing an error. "The getIntegerList() method should read the number N from the keyboard and then return a list of N elements, which has been filled with numbers read from the keyboard." Any suggestion what am I missing at this step. Thank you.
    • 8/20/19
    • 1693views
    • 2comments
    0
  • Anusha Govindarajan
    Level 7
    Amsterdam
    Question about the task String array in reverse order
    Java Syntax, Level 7, Lesson 4
    Resolved
    I seem to get the correct output but task requirements are not met. public class Solution { public static void main(String[] args) throws Exception { //write your code here String[] arr = new String[10]; BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); //String s = reader.readLine(); for(int i
    • 8/26/19
    • 1512views
    • 3comments
    0
  • Au Ivan
    Level 17
    Hong Kong
    Question about the task Sum of the digits of a three-digit number
    Java Syntax, Level 3, Lesson 12
    Resolved
    The outcome is correct, but....What is the problem? The output fits the answer, but why is the task not complete?
    • 8/25/19
    • 1720views
    • 2comments
    0
  • Rama
    Level 3
    Ottawa
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Resolved
    Syntax error help?Please help where I made the error. unable to figure it out:
    • 8/22/19
    • 1462views
    • 3comments
    0
  • Travis Cuevas
    Level 3
    Bedminster
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Resolved
    whywhat am i doing wrong?
    • 8/8/19
    • 1219views
    • 3comments
    0
  • Anusha Sallas
    Level 2
    Kalpetta
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Resolved
    What is wrong with with my codeCan u pls solve this
    • 6/1/19
    • 1635views
    • 4comments
    0
  • hidden #10426395
    Level 2
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Resolved
    Who can help guys?Hey guys, I'm new to java and I don't know how to make this converter work. It looks complicated. Perhaps anybody can explain me how to do it?
    • 2/23/19
    • 1814views
    • 3comments
    0
  • Prabhanjan Pandey
    Level 2
    pune
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    please tell the mistake in my code package com.codegym.task.task02.task0216; /* Minimum of three numbers */ public class Solution { public static int min(int a, int b, int c) { int d; if(a<=b&&a<=c) d=a; else if(b<=a&&b<=c) d=b; else if(c<=a&&a
    • 8/13/18
    • 2153views
    • 6comments
    0
  • Marcin
    Level 8
    Warsaw
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    Requirements are met but won't verifyThe code is working, but I can't verify the task. What's wrong?
    • 8/16/19
    • 1095views
    • 1comment
    0
  • jorge ives murillo paredes
    Level 40
    New York City
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    What is wrong ? public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader ( new InputStreamReader ( System.in ) ); for (int a = 0;a < 5;a++) { strings.add ( reader.readLine () ); } int max = st
    • 8/21/19
    • 1125views
    • 1comment
    0
  • Mukesh Vudayagiri
    Level 10
    Ferokh
    Question about the task Cat code won't compile
    Java Syntax, Level 7, Lesson 12
    Under discussion
    What's wrong?The compiler is showing: java.lang.NumberFormatException: Solution.java, method main, line: 21. what is wrong here? Also please explain my other mistakes. Thanks.
    • 9/9/18
    • 2335views
    • 16comments
    0
  • Matjes
    Level 2
    Prague
    Question about the task String array in reverse order
    Java Syntax, Level 7, Lesson 4
    Resolved
    Cannot pass the last conditionHi Guys, Can you please help me? I am missing the last condition and don't know how to go further. This is what I get as output when entering numbers from 1 to 8 as input: 1 2 3 4 5 6 7 8 null null 8 7 6 5 4 3 2 1 Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1 at com.c
    • 8/27/19
    • 1544views
    • 3comments
    0
  • ddi
    Level 18
    Dortmund
    Question about the task Sorting even numbers from a file
    Java Core, Level 3, Lesson 11
    Archived
    unreported exception java.io.IOException; must be caught or declared to be thrown String filename = reader.readLine(); HELP!I am receiving this failure: unreported exception java.io.IOException; must be caught or declared to be thrown String filename = reader.readLine(); And i don´t understand where the problems is... Can someone help me?
    • 8/26/19
    • 3938views
    • 6comments
    0
  • 1
  • ...
  • 286
  • 287
  • 288
  • 289
  • 290
  • ...
  • 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