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
  • Henry Mendel
    Level 4
    Galactic Rush
    Question about the task Pets need people
    Java Syntax, Level 2, Lesson 5
    Resolved
    Can ANYONE PLEASE HELP Mcom/codegym/task/task02/task0213/Solution.java:12: error: cannot find symbol Women women = new Women(); ^ symbol: class Women location: class com.codegym.task.task02.task0213.Solution
    • 19.01.2020
    • 1029views
    • 3comments
    0
  • Clarendon lee
    Level 8
    Baltimore
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Resolved
    Correct answer ,but why " no met !"Don't understand why ? Please help ,thanks a lot!
    • 12.01.2020
    • 1038views
    • 6comments
    0
  • Dominik
    Level 25
    Frankfurt am Main
    Question about the task Lonely arrays interact
    Java Syntax, Level 7, Lesson 4
    Archived
    Any clues?Hi. Does anyone have an idea why it doesn't work? I'm getting correct output
    • 19.01.2020
    • 918views
    • 3comments
    0
  • Paweł
    Level 15
    Gromnik
    Question about the task Writing to a file from the console
    Java Core, Level 3, Lesson 11
    Resolved
    Time out but it's work!Hello! I have a problem. The code doesn't match the condition... I got " time out". But if I use this code it works. What's wrong then? public class Solution { public static void main(String[] args) throws IOException { // write your code here BufferedReader BFil
    • 18.01.2020
    • 1307views
    • 3comments
    0
  • Joshua
    Level 4
    Sydney
    Question about the task Do we have a pair?
    Java Syntax, Level 4, Lesson 4
    Under discussion
    3rd Criteria wont verifyCode seems to produce the correct output and im printing the result to the screen. However the print to screen criteria wont validate?
    • 19.01.2020
    • 807views
    • 2comments
    0
  • dibidebe
    Level 7
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Under discussion
    helpIt says: missing return statement } ... what should i do?
    • 28.07.2019
    • 1477views
    • 3comments
    0
  • - FniJnn -
    Level 33
    Paris
    Question about the task Snake (part 17)
    Java Multithreading, Level 2, Lesson 18
    Under discussion
    Don't know what's wrongHey, I don't know what's wrong here, it looks good. Thank you :)
    • 14.01.2020
    • 1267views
    • 1comment
    0
  • jorge ives murillo paredes
    Level 40
    New York City
    Question about the task Arkanoid (part 12)
    Java Multithreading, Level 3, Lesson 13
    Under discussion
    whats wrong?whats the problem whit the constructor
    • 21.12.2019
    • 1222views
    • 1comment
    0
  • Prashant Agrawal
    Level 4
    Mumbai
    Question about the task Subjective reality
    Java Syntax, Level 2, Lesson 3
    Under discussion
    Compilation Error of some sort This is the compilation error: com/codegym/task/task02/task0210/Solution.java:9: error: package Sysem does not exist Sysem.out.println("If you don't code well, Java will come and eat your memory");//write your code here I have used semicolon, all comas and parentheses etc. Please check it
    • 09.01.2019
    • 1814views
    • 3comments
    0
  • HaeWon Chung
    Level 17
    Boston
    Resolved
    Some achievements are not syncing between 2 different machinesI'm working on Codegym from 2 different machines. It seems like daily achievements (such as 2 tasks per day) are not counted in one of my laptop. Or is it because Codegym does not reset clock in midnight of my time zone? Because I use this laptop at day and use the others at night. I guess I have to
    • 17.01.2020
    • 719views
    • 2comments
    0
  • JeRiF94
    Level 22
    Baku
    Question about the task John Johnson
    Java Core, Level 9, Lesson 11
    Under discussion
    It looks like work well , but validator don;t give upThere is my code;
    • 26.09.2019
    • 1078views
    • 2comments
    0
  • Michał Kwaśny
    Level 22
    Krakow
    Question about the task John Johnson
    Java Core, Level 9, Lesson 11
    Under discussion
    Looks like it is working correctly at first glanceCould some1 give some tip?
    • 23.09.2019
    • 1157views
    • 2comments
    0
  • Niladri pradhan
    Level 33
    Mumbai
    Question about the task John Johnson
    Java Core, Level 9, Lesson 11
    Under discussion
    Name condition not verifying.help please
    • 03.09.2019
    • 1143views
    • 2comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task John Johnson
    Java Core, Level 9, Lesson 11
    Under discussion
    Help me plsI tired
    • 29.06.2019
    • 1245views
    • 1comment
    0
  • Azamat Aminov
    Level 41
    Tashkent
    Question about the task The richest
    Java Core, Level 9, Lesson 11
    Under discussion
    Everything is normal but 4th condition is not satisfied.
    • 21.12.2019
    • 1092views
    • 2comments
    0
  • Rupa Joshi
    Level 29
    Tokyo
    Question about the task The richest
    Java Core, Level 9, Lesson 11
    Under discussion
    Any help?Ideally it should be just one person, but when I try to verify the code it shows an error as display the names in ascending order which share the highest sum. So I tried to change the code to make it a list of people who has highest and same sum. but still not verifying and giving me an error as "be
    • 29.08.2019
    • 1104views
    • 2comments
    0
  • Nicolas Huet
    Level 41
    Provins
    Question about the task Chat (part 16)
    Java Multithreading, Level 6, Lesson 15
    Resolved
    What's wrong?I tried with different if else configurations (and if else if also) and I don't understand why it's not working...
    • 12.09.2019
    • 1304views
    • 7comments
    0
  • Andrei
    Level 26
    Liverpool
    Question about the task Seasons on Terra
    Java Syntax, Level 4, Lesson 4
    Resolved
    why?else if (month==12); else without if public static void checkSeason(int month) {
    • 17.01.2020
    • 843views
    • 3comments
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task Building a file
    Java Core, Level 8, Lesson 11
    Resolved
    The program ran too long and was closed!Not sure why, I can't spot any infinite loops Edit: I removed line 53 and changed line 57 to: FileInputStream fileInputStream = new FileInputStream(s); now it's failing all the conditions except the first and last with the mentor recommendation: The file output stream was not closed.
    • 16.01.2020
    • 975views
    • 1comment
    0
  • Pedro Antonio Mendéz Gutiérrez
    Level 6
    Crown Point
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    Why will my code not compile? My code is not compiling is can someone help?
    • 10.01.2020
    • 1091views
    • 4comments
    0
  • Stanislav Mayer
    Level 15
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Resolved
    Verifier not working properly?My code seems to work properly (tested with System.out.println ) but for some reason, I got the error: The program should not read values from the keyboard. Would you please check if there is an error that I can't see? Thanks a lot!
    • 09.12.2019
    • 1506views
    • 3comments
    0
  • Alex
    Level 24
    Sibiu
    Question about the task Inverted words
    Java Multithreading, Level 2, Lesson 9
    Under discussion
    The result list must be filled with correct pairs according to the task conditions.It prints the correct output but it fails at the last requirement. A little help please ? :D Thank you! package com.codegym.task.task22.task2207; import java.io.*; import java.util.*; /* Inverted words */ public class Solution { public static List result = new LinkedList<>(); p
    • 04.01.2020
    • 1364views
    • 2comments
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task Threads and bytes
    Java Core, Level 8, Lesson 11
    Resolved
    Please helpSorry if my code is a little messy, hope the notes make it easier to read
    • 15.01.2020
    • 1062views
    • 1comment
    0
  • Erhan H.
    Level 23
    Istanbul
    Question about the task Adding a file to an archive
    Java Collections, Level 1, Lesson 6
    Under discussion
    It works in local computer It works in local computer but fails in tests.
    • 10.12.2019
    • 1162views
    • 3comments
    0
  • Cyrus
    Level 3
    Under discussion
    Differences between these two scanner codes?Hi, what are the main differences between these 2 programs? {        static void first String line = ""; for (int i = 0; i < 2; i++) { Scanner scanner = new Scanner (System.in); System.out.println("write something:"); if (scanner.hasNextInt()) { line = sc
    • 14.01.2020
    • 822views
    • 1comment
    0
  • Daniel
    Level 4
    Saint Petersburg
    Question about the task Time conversion
    Java Syntax, Level 3, Lesson 5
    Under discussion
    I do not anderstand this.Hello, anyone can tell why the task is running but not being verified.
    • 25.05.2019
    • 1681views
    • 5comments
    0
  • Ákos Kovács
    Level 10
    Budapest
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    Output seems OK, but marked as failedI use following code, output seems ok, but requirements are not satisfied.
    • 16.01.2020
    • 713views
    • 1comment
    0
  • KARAN BHOITE
    Level 15
    Nagpur
    Question about the task Task No. 2 about integer type conversions
    Java Syntax, Level 10, Lesson 4
    Under discussion
    i did not understanddouble d =a * 1e-3 + c; what does that mean?
    • 29.09.2019
    • 1106views
    • 3comments
    0
  • Bill Hine
    Level 9
    Sarasota
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Under discussion
    Can someone explain why this works please? public boolean fight(Cat anotherCat) { int stat1 = this.age + this.weight + this.strength; int stat2 = anotherCat.age + anotherCat.weight + anotherCat.strength; if (stat1 > stat2 ) { return true; } else return false; }
    • 08.11.2019
    • 1668views
    • 2comments
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task Finding data inside a file
    Java Core, Level 8, Lesson 11
    Resolved
    Very unclear as to what is requiredI just have no clue what they want with the third requirement Edit: I tried changing line 40 to j=0, just in case the ID should be included in the displayed info; still failing the same condition Edit2: I changed lines 33-47 to: HashMap idAndInfo = new HashMap<>(); ArrayList ids = new Arra
    • 15.01.2020
    • 1145views
    • 4comments
    0
  • 1
  • ...
  • 238
  • 239
  • 240
  • 241
  • 242
  • ...
  • 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