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
  • Yashi Gupta
    Level 17
    Delhi
    Question about the task Census
    Java Syntax, Level 8, Lesson 8
    Under discussion
    what's wrong with my code?2 requirements not met!
    • 13.09.2019
    • 1034views
    • 2comments
    0
  • Marcin
    Level 22
    Edinburgh
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Under discussion
    is that correct solution for display duplicated strings ? // Display result for (int i =0; i < result.size(); i++ ){ System.out.println(result.get(i)); System.out.println(result.get(i)); is that correct solution for display duplicated strings ?
    • 13.09.2019
    • 1128views
    • 3comments
    0
  • Cristian
    Level 16
    Bucharest
    Question about the task Initializing cats
    Java Syntax, Level 5, Lesson 7
    Under discussion
    What is wrong with my code? Thank you!package com.codegym.task.task05.task0510; /* Initializing cats */ public class Cat { private String name; private int weight; private String color; private int age; private String address; public void initialize(String name) { this.name = name;
    • 12.09.2019
    • 1271views
    • 5comments
    0
  • Lex Medeiros
    Level 18
    San Jose
    Question about the task Threads and bytes
    Java Core, Level 8, Lesson 11
    Under discussion
    Not sure why it is not validatingCan anyone point out why is the reason this is not validating? I am finding the most repeated byte and adding it to the resultsMap along with the file name.
    • 13.09.2019
    • 1332views
    • 2comments
    0
  • iHappy Violence
    Level 7
    Saint Petersburg
    Question about the task Man and woman
    Java Syntax, Level 5, Lesson 12
    Under discussion
    Help me pleaseWhy not worked ???
    • 25.06.2019
    • 1703views
    • 4comments
    0
  • Michael
    Level 10
    Dresden
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Resolved
    Solution easy, but learning effect nullIt would be helpful if someone could explain the order of the name and number variables and why here the String variable has to be declared before the int variables.
    • 13.09.2019
    • 1186views
    • 1comment
    0
  • Bartek J.
    Level 13
    Zielona Góra
    Question about the task Minimum and Maximum
    Java Core, Level 1, Lesson 11
    Under discussion
    Output good, but cant pass checklistHi, I have a good output result, but still cant pass the checklist. Can sb help ?
    • 14.09.2019
    • 1150views
    • 1comment
    0
  • Ash Ka
    Level 13
    Calgary
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Resolved
    The code seems to work for every number (>127) but the last task fails with a recommendation from mentorI ran the code by putting my longest sequence in the end and it seems to work perfectly fine. Pls help. I see this recommendation from the mentor for the last requirement- Be sure that the length of the longest sequence is calculated correctly when it is located at the end of the list of entered nu
    • 24.05.2019
    • 1864views
    • 4comments
    0
  • Ash Ka
    Level 13
    Calgary
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Resolved
    Where am I wrong ?Input 89 89 98 98 98 98 98 98 71 100 Output should be 6 but I am getting 8..
    • 13.09.2019
    • 1245views
    • 1comment
    0
  • Clarendon lee
    Level 8
    Baltimore
    Question about the task We solemnly publish and declare these variables...
    Java Syntax, Level 1, Lesson 3
    Under discussion
    How to restart my tasks?How to restart my tasks ?
    • 10.09.2019
    • 1357views
    • 2comments
    0
  • Clarendon lee
    Level 8
    Baltimore
    Question about the task Display the square of a number
    Java Syntax, Level 1, Lesson 3
    Resolved
    Task requirements are not metWhat's my solution wrong? Verify tell me " Task requirements are not met".
    • 11.09.2019
    • 1244views
    • 2comments
    0
  • hidden #10467591
    Level 19
    Question about the task Table
    Java Core, Level 8, Lesson 8
    Under discussion
    Do you have an idea?Hey! Do you have and idea how to fix this? public void setModel(List rows) { System.out.println(rows.size()); }
    • 13.09.2019
    • 1010views
    • 1comment
    0
  • Carlos Cortázar
    Level 17
    Madrid
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Under discussion
    what's wrong with this codeHi. The program does not pass this code. It says me that something is wrong with the weight in the 'Fight' method implementation. I'm not able to see the error. Please, could somebody help me. Thank you very much.
    • 25.08.2019
    • 1325views
    • 4comments
    0
  • Carlos Cortázar
    Level 17
    Madrid
    Question about the task Kind Emma and the summer holidays
    Java Syntax, Level 8, Lesson 8
    Under discussion
    I still have problems with that. Please help.I've already done a question for this task. But I still have problems. Please, could anybody help me. Thank you
    • 13.09.2019
    • 990views
    • 2comments
    0
  • Emanuele Gurini
    Level 18
    Porto Recanati
    Question about the task Maximum byte
    Java Core, Level 8, Lesson 3
    Under discussion
    Fifty dollars for who find the error! Guys, i'm poor, and i am not able to find the error. <3
    • 10.09.2019
    • 1392views
    • 9comments
    0
  • hidden #10500008
    Level 8
    Question about the task Minesweeper (Part 1/16)
    Games, Level 0, Lesson 0
    Under discussion
    my tasks are broken I can't write my code my tasks are broken I can't write my code
    • 22.08.2019
    • 1476views
    • 4comments
    4
  • Carlos Cortázar
    Level 17
    Madrid
    Question about the task Task No. 1 about integer type conversions
    Java Syntax, Level 10, Lesson 4
    Under discussion
    Could anyone explain me how to do it?Hi, friends I don't know how to resolve this task. I've been seeing that someone has resolved this by changing the casting on line 14 from 'short' to 'int' and it runs, but i can't understand the reason. Could anyone explain it to me? Thanks a lot.
    • 12.09.2019
    • 1202views
    • 3comments
    0
  • Bryce Lindley
    Level 9
    Olympia
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    My logic is wrong, or im missing a stepIt doesn't seem to compare both user inputs. Maybe i'm doing this the wrong way, or should I be using an array.
    • 12.09.2019
    • 841views
    • 1comment
    0
  • Ash Ka
    Level 13
    Calgary
    Question about the task Method in a try-catch
    Java Syntax, Level 9, Lesson 11
    Resolved
    The code is not going into catch though I was able to complete the task by keeping the print order code in the try block itself (I know it's not correct). Please help me with the right solution package com.codegym.task.task09.task0921; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; import java.util.*; import java.io.*; /* Method in a try-catch */ public class Solution { public static void main(String[] args) {
    • 11.09.2019
    • 1360views
    • 2comments
    0
  • Venkata Garimella
    Level 13
    Karnataka
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Resolved
    Solution working and result is duplicated but failed when submittedSolution verified with multiple strings. working fine but failed when submitted. What's is wrong?
    • 11.09.2019
    • 1523views
    • 1comment
    0
  • Henry
    Level 6
    Stuttgart
    Question about the task The humble programmer
    Java Syntax, Level 3, Lesson 8
    Under discussion
    confused and need helpI do not understand this text "The displayed text must contain the entered name". Is it trying to say that i do not have to include "Sara" in the printout in this way System.out.printout(" makes $120,000 a year. Ha-ha-ha!"); and that "Sara" should be typed on the console and should be part of the
    • 04.09.2019
    • 1175views
    • 2comments
    0
  • ddi
    Level 18
    Dortmund
    Question about the task Fixing bugs
    Java Core, Level 4, Lesson 8
    Under discussion
    How to override the getCurrentCreature()?How to override the getCurrentCreature()?
    • 30.08.2019
    • 1367views
    • 1comment
    0
  • Henry
    Level 6
    Stuttgart
    Question about the task Deep and pure love
    Java Syntax, Level 3, Lesson 8
    Under discussion
    hiI would like your help with this task. Thanks.
    • 12.09.2019
    • 1210views
    • 1comment
    0
  • Lex Medeiros
    Level 18
    San Jose
    Question about the task Static modifiers and kittens
    Java Core, Level 5, Lesson 9
    Resolved
    All is on the static block, but it does "see" it"In the static block, create a Cat object and assign it to the variable cat (don't forget to initialize the field name)." I have created the object, initialized the name and printed out the cat's name in the static block, but for some reason it does not see it. Does anyone know what I am doing wro
    • 20.05.2019
    • 1854views
    • 4comments
    0
  • Cristian
    Level 16
    Bucharest
    Question about the task Somehow average
    Java Syntax, Level 4, Lesson 16
    Under discussion
    Something is wrong. What? Thank you so much.package com.codegym.task.task04.task0441; /* Somehow average */ import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner scanner = new Scanner(System.in); System.out.println("Enter the three numbers: "); int
    • 06.09.2019
    • 1150views
    • 6comments
    0
  • Benjamin Spoiden
    Level 20
    Liège
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Resolved
    Need some helpHello, I don't get what i'm missing in this code make the longest display if it indeed come first. Any hint ? Thanks
    • 20.08.2019
    • 1501views
    • 4comments
    0
  • Alesha Ray
    Level 20
    Austin
    Question about the task Minesweeper (Part 6/16)
    Games, Level 0, Lesson 0
    Resolved
    Everything looks right and yet I'm somehow not accounting for all mined neighbors, please help! Thanks in advanceNOTE: Ignore the MinesweeperGame.class file, that's now how it's showing on my end so I'm not really sure what's going on there. So I've checked everything at this point and my code seems to be correct. I accounted for the fact that the columns and the cells are swapped here: for (int y =
    • 08.09.2019
    • 1702views
    • 3comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Overriding serialization in a thread
    Java Core, Level 10, Lesson 10
    Under discussion
    One condition plsNeed help
    • 30.06.2019
    • 1373views
    • 1comment
    0
  • Djole
    Level 41
    Belgrade
    Question about the task CashMachine (part 13)
    Java Collections, Level 9, Lesson 15
    Archived
    ?import com.codegym.task.task26.task2613.exception.InterruptedOperationException; import java.util.ResourceBundle; class DepositCommand implements Command{ private ResourceBundle res = ResourceBundle.getBundle(CashMachine.RESOURCE_PATH + "/deposit_en"); @Override public void execute()
    • 09.09.2019
    • 1182views
    • 2comments
    0
  • Jason
    Level 26
    Rancho Cucamonga
    Question about the task Reinforce the singleton pattern
    Java Core, Level 5, Lesson 12
    Resolved
    Honestly at a lose here and not even sure if I really completely understand my own codeI hate to admit but I got my sun, moon, and earth code almost directly from a website and I filled in the code for the solution.java and it seems most of it has worked but I haven't a clue what to do to get this last task to pass. Any help/explanation into what exactly I need to do would be greatly
    • 11.09.2019
    • 1601views
    • 2comments
    0
  • 1
  • ...
  • 279
  • 280
  • 281
  • 282
  • 283
  • ...
  • 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