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
  • Onar D.
    Level 7
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Under discussion
    i did many very many try. my code is working. why it cant pass task , chapter display maximum n numbers. it does. please.watch in comment of code 3 try, last one in very end. (in real them was much more.). all worked but why . maybe i dont understand the task but i tryed everything i could though about.
    • 04.10.2021
    • 464views
    • 3comments
    0
  • Onar D.
    Level 7
    Resolved
    what wrong with code. nznnzi turned on button solution for this task. i feom phone android. and more buttons do not see att all. only one button and it turn on. and where questions dissapirez from mine. ? i think in ap or website some mistakes. i did right about quessions that every one can see my code.
    • 24.09.2021
    • 390views
    • 2comments
    0
  • Onar D.
    Level 7
    Resolved
    why cant int m assign value of x1 ?why cant int m assign value of x1 ? there two integers why compiler not allowed that.
    • 23.09.2021
    • 388views
    • 2comments
    0
  • Onar D.
    Level 7
    Question about the task Roy G. Biv…
    Java Syntax, Level 3, Lesson 6
    Resolved
    it close but not completely.it works, but not completely. Red a = new Red(); System.out.println(a); all day trying to complete this task, without internet only www.w3schools.com , and couple of book of java (head first one them). This code is all that I was able to achieve for this moment. I dont know how to get rid of (my
    • 14.06.2020
    • 1020views
    • 3comments
    0
  • Onar D.
    Level 7
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Resolved
    why my code is not accepted by the task?why my code is not accepted by the task?
    • 26.09.2021
    • 575views
    • 2comments
    0
  • Onar D.
    Level 7
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Resolved
    there empty code, but even like this not compale why?there inscription: com/codegym/task/task05/task0502/Cat.java:18: error: missing return statement } ^ WHY?! something wrong with only this text: public boolean fight(Cat anotherCat) { //write your code here }
    • 30.09.2021
    • 426views
    • 1comment
    0
  • Victor Omoha
    Level 8
    Raleigh
    Question about the task Time for 10,000 insertions
    Java Syntax, Level 8, Lesson 6
    Resolved
    Don't understand why i can't meet the last requirementpackage com.codegym.task.task08.task0809; import java.util.ArrayList; import java.util.Date; import java.util.LinkedList; import java.util.List; /* Time for 10,000 insertions */ public class Solution { public static void main(String[] args) { System.out.println(getInsertTimeInMs(new
    • 04.10.2021
    • 494views
    • 2comments
    0
  • Nashid Kp
    Level 2
    Manjeri
    Question about the task Print three times
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Pls explain thisCan anybody explain below method 👇🏽 for (int i=0; i <3; i++) Don't think taught something like this till now..
    • 28.09.2021
    • 983views
    • 3comments
    0
  • AlfredW
    Level 23
    Denver
    Question about the task Tracking changes
    Java Core, Level 9, Lesson 11
    Under discussion
    WTF!!Who writes these exercises? What the $^%* do they want here? The Conditions and the example output makes no sense whatsoever. How can you have the condition : The ADDED and REMOVED labels can't be used consecutively— What if there are literally consecutive adds or removes in the data?
    • 23.10.2020
    • 620views
    • 2comments
    1
  • satya
    Level 1
    George Town
    Question about the task Amigo is very smart
    Java Syntax, Level 0, Lesson 2
    Under discussion
    code has compiled sucessfully but still unable verify this
    • 21.10.2018
    • 1331views
    • 3comments
    0
  • Martin Evtimov
    Level 22
    Chicago
    Question about the task Drawing lines
    Java Syntax, Level 4, Lesson 13
    Under discussion
    Help What's wrong it prints 10 vertical and 10 horizontal lines...
    • 27.08.2018
    • 1916views
    • 6comments
    0
  • kirti
    Level 8
    Question about the task The whole duck isn't enough
    Java Syntax, Level 5, Lesson 12
    Resolved
    errorplease help me to understand this!!
    • 15.09.2018
    • 1761views
    • 3comments
    0
  • yehuda b
    Level 23
    Beersheba
    Question about the task Minesweeper (Part 6/16)
    Games, Level 0, Lesson 0
    Resolved
    Why third requirement isn't met I don't understand why countMineNeighbors method doesn't count mined neighbors for every non mined cell in the gameField matrix??
    • 09.12.2019
    • 2259views
    • 9comments
    3
  • Michael Martin
    Level 2
    Arlington
    Question about the task ABCs
    Java Core, Level 8, Lesson 11
    Resolved
    This should be so easy, I must be missing something obvious. Any help?This should be so easy, I must be missing something obvious. Any help?
    • 04.12.2018
    • 2213views
    • 9comments
    0
  • Kisszol
    Level 15
    Toeroekbalint
    Question about the task OOP: Fix inheritance problems
    Java Core, Level 5, Lesson 2
    Resolved
    Programo funkcias, sed sistemo ne validas -> Bonvoul helpu min Programm works, but system does not accept it -> please help meGlobalo Esperanto: Programo funkcias, sed sistemo ne akceptas mian solvon. Kial ? Local English: Program works, but system does not accept it. Why ?
    • 03.05.2019
    • 2542views
    • 8comments
    1
  • jrosenauer
    Level 4
    United States of America
    Question about the task Render to Caesar the things that are Caesar's
    Java Core, Level 2, Lesson 2
    Under discussion
    I am stuck on one of the scenariosI am not sure how to do this method overriding. Can you please assist?
    • 24.01.2020
    • 1122views
    • 2comments
    1
  • DmdKanth
    Level 19
    Dayton
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Under discussion
    says: "The displayed text must fully match the task conditions".. Can anyone tell me what's wrong with it?package com.codegym.task.task03.task0319; /* Predictions Use the keyboard to separately enter the name, number1, and number2. Display the following phrase: will receive in years. Here's an example: Nick will receive 10000 in 5 years. Nick will receive 10000 in 5 years. Requirements: 1. The
    • 06.09.2020
    • 688views
    • 6comments
    0
  • Bosch Testing Team
    Level 12
    Karlsruhe
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Resolved
    Only second condition wont verify for me when i have read from keyboard and add inputs to the listHi guys, not passing second condition, not sure why when i have added strings to list using reader and loop. Rest of the conditions pass and code runs fine, please help, thanks.
    • 30.09.2021
    • 458views
    • 2comments
    0
  • Aakash Pereira
    Level 2
    Caister-on-Sea
    Under discussion
    Ran out of dark matterI have run out of dark matter. I can't progress to the next lesson. But I have completed all the "free" tasks so can't earn anymore unless I upgrade. Are they just trying to force me to upgrade?
    • 14.10.2019
    • 1004views
    • 3comments
    1
  • Justin Smith
    Level 41
    Greenfield, USA
    Question about the task Table
    Java Core, Level 8, Lesson 8
    Under discussion
    I got the solution, but I don't understand what it's doing at allIf I'm looking at the code right, none of these methods do anything (aside from the small thing the setModel method does). They call the un-implemented methods in the interface, which have no method bodies. Why would we ever create code like this? The getHeaderText and setHeaderText appear to be tra
    • 29.09.2021
    • 429views
    • 3comments
    0
  • Artin t
    Level 9
    Sydney
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Resolved
    Third Condition :/The third condition on my task isn't fulfilled. The output is correct though. What's wrong
    • 18.07.2021
    • 538views
    • 1comment
    0
  • waltham93@outlook.com
    Level 4
    Perivale
    Question about the task Time conversion
    Java Syntax, Level 3, Lesson 5
    Under discussion
    What seems to be wrong?This is the only error I'm getting. The convertToSeconds method must convert the passed number of hours to seconds.
    • 20.01.2021
    • 603views
    • 4comments
    0
  • Jack
    Level 4
    Yerevan
    Question about the task Fill a pool with water
    Java Syntax, Level 3, Lesson 5
    Under discussion
    well?Ok so what am i doing wrong i know that i don't need the int b
    • 16.04.2020
    • 1060views
    • 2comments
    0
  • proegg123
    Level 16
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    Anyone know whats wrong with this? I get "The displayed text must fully match the task conditions." BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String name = reader.readLine(); String number = reader.readLine(); System.out.println(name + " will take over the world in " + number + " years. Mwa-ha-ha!"); // my output is : Kevin will take ov
    • 29.09.2021
    • 738views
    • 1comment
    0
  • Justin Smith
    Level 41
    Greenfield, USA
    Question about the task ATM
    Java Core, Level 7, Lesson 10
    Under discussion
    The addmoney method is defined a way we've never seen before, can someone explain?Before I even get started trying to figure this out, CodeGym has once again given us code using a structure they haven't taught us yet. I would like to know what is going on before I do anything else: private static Thread addMoney = new Thread() { @Override public void run(
    • 27.09.2021
    • 774views
    • 3comments
    0
  • Ankush Rajput
    Level 25
    Bhopal
    Question about the task Contextual advertising
    Java Core, Level 9, Lesson 11
    Under discussion
    Output is exactly as per task conditions, still not able to verifyPlease admins, have a look at the code. It is printing to console exactly as per task conditions still it does not pass. The same is happening in many other questions. It is getting a bit frustrating.
    • 20.09.2018
    • 1611views
    • 3comments
    0
  • Greg Martel
    Level 5
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    What number outside the 1-999 range is returning text?Final requirement is not met, and I'm stumped as to why.
    • 27.09.2021
    • 646views
    • 4comments
    0
  • Kalayaan
    Level 4
    Question about the task Snake (Part 14/20)
    Games, Level 0, Lesson 1
    Under discussion
    It's not drawing my snakeI don't know why. I don't have any errors, but my snake doesn't show up when I start the game. I can see my apple, but no snake. I managed to pass the last few parts, it was saying I had everything right and I could move to the next step, but everytime I passed, I still wasn't able to get my snake t
    • 23.09.2021
    • 930views
    • 4comments
    0
  • scriptKing
    Level 7
    Question about the task Static cats
    Java Syntax, Level 6, Lesson 11
    Under discussion
    I cant get it to print the array :( package com.codegym.task.task06.task0614; import java.util.ArrayList; import java.util.Arrays; /* Static cats */ public class Cat { //write your code here public static ArrayList cats = new ArrayList<>(); public Cat() { } public static void main(String[] args) {
    • 25.09.2021
    • 888views
    • 3comments
    0
  • Ankita Patra
    Level 5
    Bhubaneshwar
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Resolved
    What's wrong in this code!!
    • 08.06.2019
    • 1692views
    • 2comments
    3
  • 1
  • ...
  • 56
  • 57
  • 58
  • 59
  • 60
  • ...
  • 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