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
  • Ashish RajAnand
    Level 13
    Bhilai
    Question about the task Moon Lander (Part 19/23)
    Games, Level 0, Lesson 4
    Resolved
    please helphow to implement draw method
    • 3/16/20
    • 1195views
    • 6comments
    0
  • Anton Yavorskyi
    Level 5
    Kiev
    Question about the task Three numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    People, please help me!Couldn't pass this condition: "The program should display the ordinal number of the number that is different from the others" For me it looks good, part of my code: if (numb1 == numb2 && numb1 != numb3) System.out.println("3"); else if (numb1 == numb3 &&
    • 3/19/20
    • 1485views
    • 2comments
    0
  • Anton Yavorskyi
    Level 5
    Kiev
    Question about the task Multiplication table
    Java Syntax, Level 4, Lesson 10
    Resolved
    Please people explain me why, if I initialize int j = 1; outside of loop Output is just one line: 1 2 3 4 5 6 7 8 9 10 ? Thanks!public class Solution { public static void main(String[] args) throws Exception { int i = 1; //int j = 1; Output just one line: 1 2 3 4 5 6 7 8 9 10 while (i < 11) { //int j = 1; while (j < 11) {
    • 3/23/20
    • 1300views
    • 2comments
    0
  • Montjoie
    Level 22
    Cologne
    Question about the task Prices 2
    Java Core, Level 8, Lesson 11
    Under discussion
    It says "The item with the updated data should be on the same line in the file." But it is, isn't it?Hello everybody. I don't catch this situtation. My code isn't verified because of the third condition and the recommendation is "The item with the updated data should be on the same line in the file." But my test show exactly this requirement. Can you help me pointing out my mistake? I'd be glad abo
    • 12/1/19
    • 1454views
    • 3comments
    0
  • Goran
    Level 41
    Belgrade
    Question about the task Space Invaders (Part 34/34)
    Games, Level 0, Lesson 6
    Resolved
    Why animation disappeared ?I did everything by instructions but my animation disappeared on player ship and enemy ship. But don't know why ? And before end of task it was working, but something in last steps made it stop working :/
    • 3/28/20
    • 955views
    • 1comment
    0
  • Diana Salvador
    Level 26
    Sintra
    Question about the task Prices
    Java Core, Level 8, Lesson 11
    Under discussion
    Please help!The output seems to be correct...I'm going crazy! Thanks!
    • 2/11/20
    • 1058views
    • 1comment
    0
  • Rismitha Ismail
    Level 2
    Mumbai
    Question about the task Where does a Person come from?
    Java Syntax, Level 2, Lesson 2
    Under discussion
    identifierI got an error says that identifier is missing..can anyone please say this for me?
    • 3/23/20
    • 1064views
    • 2comments
    0
  • Alison
    Level 9
    Madison
    Question about the task Working with dates
    Java Syntax, Level 8, Lesson 11
    Resolved
    Help \(T-T)/xD Help
    • 7/13/19
    • 2185views
    • 2comments
    0
  • Ryan
    Level 14
    Ashburn
    Question about the task One large array and two small ones
    Java Syntax, Level 7, Lesson 4
    Under discussion
    Created 2 arrays of 10 but still failedI'm not sure what I did here because when I print both of the smaller arrays I get "two small arrays of 10 numbers each". I'm also not sure how it is possible to meet 1, 2, & 4, and still not meet 3.
    • 2/15/19
    • 1725views
    • 7comments
    0
  • Ted404
    Level 11
    Dubai
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Resolved
    Why it is not passing the last condition?I belive I miss smth in my code but cannt figure out what. Please help.
    • 3/19/20
    • 1143views
    • 4comments
    0
  • Michał Pietrus
    Level 33
    Krakow
    Question about the task Rounding numbers
    Java Core, Level 8, Lesson 11
    Under discussion
    HelpWhy it doesnt work ? :c
    • 3/27/20
    • 1123views
    • 2comments
    0
  • Liliane Top
    Level 17
    Amsterdam
    Question about the task Currencies
    Java Core, Level 4, Lesson 8
    Resolved
    Very confused!I have a couple questions: 1) I do not understand the part on how to populate the Arraylist. I do understand that we can't create instances of Money but what are we adding to this lis? 2) what is happening here? "Person paul = new Person("Paul"); for (Money money : paul.getAllMoney()) " Thanks fo
    • 3/27/20
    • 1487views
    • 4comments
    0
  • Thebe
    Level 7
    Benares
    Question about the task Static cats
    Java Syntax, Level 6, Lesson 11
    Archived
    Static CatsWhat's wrong with this?
    • 2/7/19
    • 3140views
    • 7comments
    2
  • Ivan
    Level 22
    Nope
    Question about the task Words with numbers
    Java Core, Level 9, Lesson 11
    Resolved
    Testing with files works perfectly, can't pass validation :(Can someone help out? I've tested with multiple files and it works, but validation won't allow me. Where is my mistake? EDIT: Forgot to mention that I tried without line 37 for new line printing. Everything was on one line.
    • 3/26/20
    • 1637views
    • 6comments
    0
  • Larisa Alexa
    Level 20
    Iasi
    Question about the task To the top of the list
    Java Syntax, Level 7, Lesson 6
    Resolved
    My code will execute without waiting for my keyboard input. Any idea why?Please check my code and advise. It currently executes and imediatly displays: "Process finished with exit code 0" without waiting for my input
    • 3/27/20
    • 1093views
    • 3comments
    0
  • Raj Mishra
    Level 2
    India
    Question about the task In decreasing order
    Java Syntax, Level 7, Lesson 12
    Under discussion
    What is the problem in my code?My code displays the numbers of passed array in decreasing order,. Still the final validation is failing. Whats the cause of fail ?
    • 3/27/20
    • 1217views
    • 1comment
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task Minesweeper (Part 14/16)
    Games, Level 0, Lesson 0
    Resolved
    Please helpLine 86/87 is what's relevant to this particular task. I've tried setScore(score + 5) score += 5; setScore(5); score += 5; setScore(score + 5); no idea what to do
    • 3/27/20
    • 1432views
    • 1comment
    0
  • KARAN BHOITE
    Level 15
    Nagpur
    Question about the task OOP: Fix inheritance problems
    Java Core, Level 5, Lesson 2
    Under discussion
    plzzz helpseriously what is goin on i didn't get this
    • 3/27/20
    • 1010views
    • 1comment
    0
  • Raj Mishra
    Level 2
    India
    Question about the task Cat code won't compile
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Whats wrong in my code?I am getting correct results. Still my all validations are failing except the first one. I have coded according to the specified rules. But still why the validations are failing?
    • 3/27/20
    • 979views
    • 1comment
    0
  • Sanjay Chauhan
    Level 28
    Delhi
    Question about the task Clew
    Java Core, Level 6, Lesson 13
    Under discussion
    task4 is getting failed.Dears, Will it be possible to have a look at my solution to check why task4 is getting failed? I can see lot of people are facing the same issue. I have already tried to implement others solutions but still it's not verifying. Thanks in advance for your feedback and support. Have a nice day. Reg
    • 3/12/20
    • 1041views
    • 1comment
    0
  • sabrine RA
    Level 12
    Paris
    Question about the task To the top of the list
    Java Syntax, Level 7, Lesson 6
    Under discussion
    Can someone help me to understand what the problem plz? ?
    • 3/26/20
    • 1332views
    • 3comments
    0
  • Picvajzmen
    Level 20
    Belgrade
    Question about the task MovieFactory
    Java Core, Level 4, Lesson 8
    Under discussion
    I realy dont get it... For each string entered (including the invalid string), you must call the MovieFactory.getMovie method. recomendations from your mentor ; Be sure that the getMovie method is not called more than necessary.
    • 7/15/19
    • 1883views
    • 9comments
    0
  • Anthony Mack
    Level 2
    Waukesha
    Question about the task Changing functionality
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Null Pointer ExceptionWhy am I continuing to get a NullPointerException? I've tried s.equals(""), s == null, s.length() == 0, !s.equals(""), !s.equals(null) and no matter what, I've continued to receive the NPE error message. Why?
    • 1/10/20
    • 1563views
    • 5comments
    0
  • dD
    Level 17
    Novi Sad
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Under discussion
    I need little helpI tried to debug program and it shows ConcurrentModificationException. I found out that error is in lanes 31-33 cause its tries to iterate and delete items at the same time. So i just wanted to ask why my foreach loop doesnt work? It should be working the same way as if i created iterator the long w
    • 1/25/19
    • 2072views
    • 4comments
    0
  • David
    Level 26
    Bucharest
    Question about the task Make a family
    Java Syntax, Level 8, Lesson 11
    Under discussion
    HelpOk, I got the output but I still cant pass the first and last conditions, can anyoe explain me what is going on?
    • 3/26/20
    • 2035views
    • 3comments
    0
  • FantasticFlo
    Level 20
    Munich
    Question about the task Symbol frequency
    Java Core, Level 8, Lesson 11
    Under discussion
    Doesn't work, but why?Is there any problem with the for loop?
    • 3/21/20
    • 1310views
    • 1comment
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Rounding numbers
    Java Core, Level 8, Lesson 11
    Under discussion
    Help me plsWhat i must change?
    • 6/29/19
    • 1433views
    • 3comments
    0
  • Liliane Top
    Level 17
    Amsterdam
    Question about the task Sorting even numbers from a file
    Java Core, Level 3, Lesson 11
    Resolved
    I tried many things...I either get too many lines or otherwise too few lines. How can I check the output? I can only work in Intellij with these task and not in the CodeGym enviroment. So how can I see what is going wrong?
    • 3/26/20
    • 1715views
    • 18comments
    0
  • Art
    Level 13
    Chisinau
    Question about the task Number of letters
    Java Syntax, Level 10, Lesson 11
    Under discussion
    Can't understand the taskDo I have to count for how many times a string has the specific char?
    • 3/24/20
    • 1147views
    • 1comment
    0
  • Kamil
    Level 31
    Near Warsaw
    Question about the task Space (part 14)
    Java Collections, Level 3, Lesson 15
    Resolved
    Failing fifth requirement I do not know what's wrong. Says under the middle of the object so I did it, Y scale relates to the height so decreasing it by 1 should do the job? Do not why it's not? And dont pay attention to the way I dicreased X I was just trying out everything
    • 2/17/20
    • 1327views
    • 2comments
    0
  • 1
  • ...
  • 220
  • 221
  • 222
  • 223
  • 224
  • ...
  • 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