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
  • Nitin
    Level 5
    Question about the task A name is a name
    Java Syntax, Level 4, Lesson 16
    Resolved
    The programm is correct but it is showing Typo error?
    • 3/13/19
    • 1684views
    • 1comment
    0
  • Kisszol
    Level 15
    Toeroekbalint
    Question about the task Shuffled just in time
    Java Syntax, Level 7, Lesson 12
    Resolved
    Funkcias bone sed sistemo ne akceptas gxin ! Works correctly but system does not accept it !Globalo Esperanto : Saluton ! Mia programo funkcias bone, sed la sistemo ne akceptas gxin, kaj mi ne scias kial. Cxu vi havas ideon pri tio? local English: Hi ! Mi program works well, but have system errors and i don't know why. Do you have any idea ?
    • 3/12/19
    • 2065views
    • 2comments
    0
  • Nastya Varennikova
    Level 11
    Sumy
    Question about the task Somehow average
    Java Syntax, Level 4, Lesson 16
    Resolved
    The program should display the middle number of the three numbers. RECOMMENDATION FROM YOUR MENTOR Test the program with the numbers 3, 2, and 1. Expected output: 2 What the error?
    • 3/11/19
    • 2675views
    • 1comment
    0
  • Kisszol
    Level 15
    Toeroekbalint
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Resolved
    Esperanto -> Mi testis kaj funkciis, sed la programo ne akceptas gxin , english -> I tested and works but the program does not accept itSaluton, Esperanto ->Mi testis la programon kaj gxi funkcias, sed la programo ne akceptas gxin. Mi ne scias kial. Bovolu helpu min. English -> I tested my program it works, but the program does not accept it and I don't know why. Please help me. One language above all -> Esperanto.
    • 2/22/19
    • 2125views
    • 2comments
    0
  • LeSa
    Level 4
    Pozarevac
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    crosstown trafficcant solve HELP, but the code works! Is it solution to calculate like real time = 60 ??
    • 3/7/19
    • 1404views
    • 4comments
    0
  • hidden #10426237
    Level 7
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    Last condition is not satisfying.HELP NEDDED.
    • 2/24/19
    • 1633views
    • 2comments
    0
  • Joy Majumdar
    Level 16
    Kolkata
    Question about the task Only for the rich
    Java Syntax, Level 8, Lesson 8
    Resolved
    What is wrong here ?Please show
    • 3/8/19
    • 1639views
    • 6comments
    0
  • Anwaar ul haq
    Level 6
    Islamabad
    Question about the task Product of 10 numbers
    Java Syntax, Level 3, Lesson 4
    Resolved
    Confused !I'm getting this 362880 that is correct as I googled it. but condition says ain't right as it is not more than three million. Any suggestions?
    • 9/24/18
    • 2821views
    • 12comments
    0
  • Jeff Jeffy
    Level 15
    Irvine
    Question about the task Do we have a pair?
    Java Syntax, Level 4, Lesson 4
    Resolved
    Logic should be correct, but failing verificationSeems to be an issue here: else if((a==b)&&(b==c)){ System.out.println(a+" "+b+" "+c); }
    • 3/11/19
    • 1675views
    • 3comments
    0
  • Abdullah Cevizli
    Level 12
    Gebze
    Question about the task A programmer creates a person
    Java Syntax, Level 5, Lesson 7
    Resolved
    what is wrong with that ?probably i didnt understand putting reference
    • 1/18/19
    • 1899views
    • 2comments
    1
  • Adeleye Yusuff Adewuyi
    Level 1
    Brooklyn
    Question about the task Square of a number
    Java Syntax, Level 1, Lesson 8
    Archived
    I need someone to help me solve this coding challenge. Square of a number Write a program that displays the square of 5 on the screen. Requirements: 1. The program should output text. 2. The main method should call the sqr method with 5 as an argument. 3. The main method should display the result of the sqr method. 4. Don't change the sqr method. 5.
    • 1/20/19
    • 1624views
    • 5comments
    0
  • Jeff Jeffy
    Level 15
    Irvine
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Resolved
    Pretty sure my math is right
    • 3/9/19
    • 1563views
    • 1comment
    0
  • Clau Dia
    Level 24
    Mendoza
    Question about the task Threads and bytes
    Java Core, Level 8, Lesson 11
    Under discussion
    Where should I close the FileInputStream?Hi! The last condition does not validate even if I close the FileInputStream in line 52. I also tried closing it in the while loop of the main method. I wrote "if (rd.fis != null) { rd.fis.close(); }" after I added data to my map, but that didn't work either. Any suggestions for solving this task?
    • 2/23/19
    • 1743views
    • 2comments
    0
  • Hashirama
    Level 26
    Port-Harcourt
    Question about the task Tracking changes
    Java Core, Level 9, Lesson 11
    Resolved
    Okay so I've understood the program enough to write something, but I don't understand why....?Uncomment lines 23, 60 and 61 to test the program and see. Maybe you could find where I got it wrong. Recommendation from the mentor was: Be sure that the lines list has the REMOVED label with the required lines in the correct places.
    • 3/6/19
    • 2047views
    • 6comments
    2
  • Andrei Stratu
    Level 18
    Iasi
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    What is wrong with my codeCan you please tell me what is wrong with me code?
    • 3/10/19
    • 1449views
    • 1comment
    0
  • arvindsid
    Level 10
    Chennai
    Question about the task Cat and Dog objects: 50,000 each
    Java Syntax, Level 6, Lesson 5
    Under discussion
    How to resolve the "Time out program ran too long" error need help in resolving the timeout program ran too long error"
    • 9/16/18
    • 2061views
    • 5comments
    1
  • SAYAN SAMANTA
    Level 10
    Bangalore
    Question about the task Words in reverse
    Java Syntax, Level 7, Lesson 9
    Resolved
    where is the problem situated? public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String[] words = new String[5]; for(int i=0;i<5;i++){ words[i] = reader.readLine(); } ArrayList<String>
    • 8/22/18
    • 2125views
    • 5comments
    0
  • Jeff Jeffy
    Level 15
    Irvine
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    Weird System.out.println(); bug?Won't display user input.
    • 1/27/19
    • 1948views
    • 13comments
    0
  • Djole
    Level 41
    Belgrade
    Question about the task Extending AmigoOutputStream
    Java Core, Level 8, Lesson 8
    Resolved
    ???import java.io.*; import java.util.*; /* Extending AmigoOutputStream */ public class QuestionFileOutputStream implements AmigoOutputStream { private AmigoOutputStream or; public QuestionFileOutputStream (AmigoOutputStream aos){ this.or = aos; } public void flush() thr
    • 3/7/19
    • 1771views
    • 2comments
    0
  • Hussain
    Level 4
    Frankfurt am Main
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Resolved
    Important questionWhy it should be : woman.husband = man And not : man = woman.husband . . . need good explanation
    • 2/12/19
    • 1750views
    • 4comments
    2
  • Niranjan Soni
    Level 15
    Bangalore
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Under discussion
    1st and last 2 conditions are not satisfying. Help pleaseI'm getting correct output but 1st and last 2 conditions are not satisfying.
    • 9/29/18
    • 1397views
    • 2comments
    0
  • Harinath Reddy A
    Level 7
    Delhi
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Under discussion
    whats the errorpublic class Solution { public static void main(String[] args) throws Exception { //write your code here boolean t = true; while(t=true){ BufferedReader r = new BufferedReader(new InputStreamReader(System.in)); String s = r.readLine();
    • 3/5/19
    • 1248views
    • 4comments
    0
  • Santosh Kumar
    Level 19
    Gagret
    Question about the task Currencies
    Java Core, Level 4, Lesson 8
    Resolved
    Everything is looking good but throwing error during verificationEverything is looking good but throwing error during verification
    • 3/3/19
    • 1855views
    • 10comments
    0
  • Nitin
    Level 5
    Question about the task Positive number
    Java Syntax, Level 4, Lesson 7
    Under discussion
    Need Help!
    • 3/8/19
    • 1403views
    • 2comments
    0
  • Nitin
    Level 5
    Question about the task Maximum of four numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Whats wrong in my code?
    • 3/5/19
    • 1968views
    • 4comments
    0
  • Andrew
    Level 29
    Seattle
    Question about the task Introducing tags
    Java Core, Level 9, Lesson 11
    Resolved
    I can get the example output. Not sure what I'm missing.Do we need to solve for nested tags within nested tags? Please let me know if you thought of a simpler way to go about the solution.
    • 3/5/19
    • 2380views
    • 3comments
    0
  • PATEL HET
    Level 7
    Ahmedabad
    Question about the task Create a Rectangle class
    Java Syntax, Level 5, Lesson 9
    Under discussion
    please help me, i am not getting from a long timei am not getting please can anyone send me the code and also check my code where is mistake. package com.codegym.task.task05.task0520; /* Create a Rectangle class */ public class Rectangle { //write your code here int top,left,width,height; public void initialize(int top,int left,i
    • 2/15/19
    • 1954views
    • 4comments
    0
  • William Leininger
    Level 5
    Vancouver, WA
    Question about the task Drawing lines
    Java Syntax, Level 4, Lesson 13
    Under discussion
    Not understandingI don't understand how people are solving this problem (and some others) with nested for loops/multiple for loops. It'd make sense if say the variables carried through them or if I didn't have to define a variable in EACH for loop :S. I really dislike having to create a variable in every for loop. A
    • 2/15/19
    • 1528views
    • 3comments
    0
  • AK
    Level 6
    Mumbai
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    Why is the code below not passing verification? package com.codegym.task.task03.task0318; /* Plan to conquer the world */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here InputStream inputStream = System.in; InputStreamReader input
    • 3/2/19
    • 1562views
    • 3comments
    0
  • Yusra Ansari
    Level 9
    Karachi
    Question about the task Shuffled just in time
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Can somebody give a sample input and sample output of this task?Can somebody give a sample input and sample output of this task?
    • 9/27/18
    • 1846views
    • 5comments
    1
  • 1
  • ...
  • 341
  • 342
  • 343
  • 344
  • 345
  • ...
  • 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