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
  • 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.
    • 15.02.2019
    • 1567views
    • 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.
    • 19.03.2020
    • 1019views
    • 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
    • 27.03.2020
    • 980views
    • 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
    • 27.03.2020
    • 1327views
    • 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?
    • 07.02.2019
    • 2960views
    • 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.
    • 26.03.2020
    • 1472views
    • 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
    • 27.03.2020
    • 981views
    • 3comments
    0
  • Raj Mishra
    Level 15
    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 ?
    • 27.03.2020
    • 1091views
    • 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
    • 27.03.2020
    • 1297views
    • 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
    • 27.03.2020
    • 904views
    • 1comment
    0
  • Raj Mishra
    Level 15
    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?
    • 27.03.2020
    • 860views
    • 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
    • 12.03.2020
    • 899views
    • 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? ?
    • 26.03.2020
    • 1196views
    • 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.
    • 15.07.2019
    • 1701views
    • 9comments
    0
  • Anthony Mack
    Level 1
    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?
    • 10.01.2020
    • 1396views
    • 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
    • 25.01.2019
    • 1913views
    • 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?
    • 26.03.2020
    • 1802views
    • 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?
    • 21.03.2020
    • 1177views
    • 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?
    • 29.06.2019
    • 1300views
    • 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?
    • 26.03.2020
    • 1558views
    • 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?
    • 24.03.2020
    • 1020views
    • 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
    • 17.02.2020
    • 1194views
    • 2comments
    0
  • Jorge Sosa
    Level 20
    Madrid
    Question about the task Janitorial services
    Java Core, Level 4, Lesson 8
    Resolved
    Correct output, but not verifyingI run through each Apartment in the list with a for loop, calling the appropriate object method for each case. I think it works as asked, but it doesn´t verify.
    • 17.06.2019
    • 1480views
    • 2comments
    1
  • Liliane Top
    Level 17
    Amsterdam
    Question about the task Chicken factory
    Java Core, Level 4, Lesson 6
    Resolved
    How to print the proper output?I'm trying to check where my code goes wrong by printing the output to the console. However the only output I get is the reference. Can someone please explain how I can check the proper String output?
    • 25.03.2020
    • 956views
    • 2comments
    0
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task HTML Editor (part 2)
    Java Multithreading, Level 8, Lesson 15
    Resolved
    HelpEverything is right
    • 25.03.2020
    • 985views
    • 2comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task join: at the right time in the right place
    Java Core, Level 6, Lesson 5
    Under discussion
    What i can do this?help pls
    • 27.06.2019
    • 1143views
    • 3comments
    0
  • John
    Level 27
    Washington DC
    Question about the task Your own enum
    Java Multithreading, Level 5, Lesson 2
    Under discussion
    Not sure what the problem is - the output looks correct.please help
    • 05.02.2020
    • 1507views
    • 1comment
    0
  • Cory Keller
    Level 4
    Sankt Johannisberg
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    SO I used the modulo....Switched to the modulo but the system won't verify the yellow. Any ideas why? When I put numbers to get yellow it shows yellow.
    • 22.02.2020
    • 1297views
    • 1comment
    0
  • Adam S
    Level 22
    Gliwice
    Question about the task Flip the array
    Java Syntax, Level 7, Lesson 4
    Resolved
    please help me fellow programmers :)a little hit pls.
    • 09.01.2020
    • 1443views
    • 5comments
    0
  • Art
    Level 13
    Chisinau
    Question about the task Functionality is not enough!
    Java Syntax, Level 10, Lesson 11
    Under discussion
    Work perfectly on Intelij, but fails on here - as usually.Please help me find that little mistake lol
    • 24.03.2020
    • 885views
    • 5comments
    0
  • 1
  • ...
  • 218
  • 219
  • 220
  • 221
  • 222
  • ...
  • 372
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 © 2025 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2025 CodeGym