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
  • Somya Gupta
    Level 4
    Vrindavan
    Question about the task Pets need people
    Java Syntax, Level 2, Lesson 5
    Resolved
    error package com.codegym.task.task02.task0213; /* Pets need people */ public class Solution { public static void main(String[] args) { //write your code here Cat cat=new Cat(); Dog dog=new Dog(); Fish fish=new Fish(); Woman woman=new Woman();
    • 20.08.2018
    • 2643views
    • 10comments
    0
  • Jeremy Simons
    Level 7
    Peterborough, Cambridgeshire, UK
    Question about the task Streets and houses
    Java Syntax, Level 7, Lesson 4
    Archived
    Please helpMy code works why won't it verify? Thank you
    • 11.12.2019
    • 946views
    • 2comments
    0
  • Jeremy Simons
    Level 7
    Peterborough, Cambridgeshire, UK
    Question about the task Streets and houses
    Java Syntax, Level 7, Lesson 4
    Archived
    Please advise?The code seems correct and seems to fulfill the objectives?
    • 11.12.2019
    • 1056views
    • 1comment
    0
  • Vaibhavi
    Level 5
    Vijayawada
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    Please help..!!Can anyone know what mistake I am doing
    • 10.12.2019
    • 1002views
    • 3comments
    0
  • Shawn
    Level 3
    Dallas
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    I don't get this!Error given is: The min method must return the minimum of numbers a, b and c. Code: package com.codegym.task.task02.task0216;
    • 10.12.2019
    • 947views
    • 2comments
    0
  • Adam Maichrzik
    Level 22
    Katowice
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    Only one question - The min(a, b, c, d) method must use the min(a, b) method.Hi! Can somebody help me with this? I don't want the solution. If you can I just want from you to show me the right way of thinking so I can figure out this task by myself.
    • 08.12.2019
    • 1635views
    • 9comments
    0
  • Boris the Llama
    Level 20
    Maidstone
    Question about the task Searching for the right lines
    Java Core, Level 9, Lesson 11
    Resolved
    Seems to work, but failsIt seems to pass the tests I do, but it wont verify. On the last condition it says "Consider the fact that the words list can have an arbitrary number of words". I've tried it with longer lines and it still seems to work, so unsure what it means?
    • 09.12.2019
    • 1237views
    • 2comments
    0
  • Hendra
    Level 8
    Medan
    Question about the task Positive number
    Java Syntax, Level 4, Lesson 7
    Under discussion
    I can't find mistake in my code...what should I do?package com.codegym.task.task04.task0428;
    • 10.12.2019
    • 971views
    • 2comments
    0
  • علي حجار
    Level 18
    Bursa
    Question about the task Display today's date
    Java Syntax, Level 5, Lesson 12
    Under discussion
    My answer it is like correctscreen display current date 22 11 2018 but there are a problem
    • 22.11.2018
    • 2151views
    • 4comments
    1
  • Seán de Roo
    Level 4
    Utrecht
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Under discussion
    What's wrong with my code? It seems to be working when i test it out int daysInNonLeapYear = 365; int daysInLeapYear = 366; if (year % 400 == 0) { System.out.println("Number of days in the year: " + daysInLeapYear + "."); } else if (year % 100 == 0) { System.out.println("Number of days in the year: " + daysInNonLeapYea
    • 10.12.2019
    • 990views
    • 1comment
    0
  • Niranjan Soni
    Level 15
    Bangalore
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 4
    Archived
    Not validated for case zero.What's wrong with my code. Not validated for case zero.
    • 23.09.2018
    • 1858views
    • 8comments
    0
  • Vaibhavi
    Level 5
    Vijayawada
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    please helpPlease help me in knowing where I am going wrong
    • 10.12.2019
    • 941views
    • 1comment
    0
  • Erfan Alam
    Level 2
    Rangpur
    Question about the task Where does a Person come from?
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Method and objectIsn't it confusing, because it looks like a method, And who teach me to creat an object under a class, CodeGym getting confusing for me. Tasks are coming with no pre exercises!!
    • 21.11.2019
    • 1038views
    • 3comments
    1
  • ProgrammerNewbie
    Level 14
    Question about the task Method in a try-catch
    Java Syntax, Level 9, Lesson 11
    Resolved
    throws IOExceptionHi, My code works fine while running. Unfortunately it fails the third condition. I know it is because of "throws IOException". However, when I had left that out, my code did not compile due to an unhandled IOException. Best regards
    • 24.07.2019
    • 4324views
    • 3comments
    0
  • Shawn
    Level 3
    Dallas
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Still can't figure this out.Can someone help me find my errors? Code: package com.codegym.task.task02.task0204;
    • 10.12.2019
    • 1004views
    • 1comment
    0
  • Tian Pro
    Level 23
    Cape Town
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Sorry I can't figure this out >.<I'm still very much a beginner at this stuff, I might not be learning as fast as I should be. But I'm stuck on this one and kinda need help. Not sure how much of this code is wrong, perhaps all of it is, haha. Just let me know please :D
    • 28.11.2019
    • 1100views
    • 3comments
    0
  • MecoS
    Level 16
    Question about the task Census
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Map did nit have 2 equals key... For me the methods are ok but i didn't understand why the error?
    • 05.12.2019
    • 901views
    • 2comments
    0
  • Adam S
    Level 22
    Gliwice
    Question about the task Adding
    Java Syntax, Level 4, Lesson 16
    Resolved
    not sure how to include -1 in the sum.Cany anyone give a hint?
    • 08.12.2019
    • 1150views
    • 2comments
    0
  • hidden #10559307
    Level 8
    Question about the task Shuffled just in time
    Java Syntax, Level 7, Lesson 12
    Resolved
    Can you please check what is wrong with my code?the output matches the required result but not accepted.
    • 09.12.2019
    • 950views
    • 2comments
    0
  • Matti Barzilai
    Level 20
    Chicago
    Question about the task 2048 (Part 7/18)
    Games, Level 0, Lesson 2
    Resolved
    Tests Not PassingThanks in advance for any help! When I attempt to verify this task, it says the compressRow method accurately returns true and false. However, it says that the compressRow(int[]) method is not implemented in accordance with the task conditions. Unfortunately, the only error it gives me is that the
    • 06.12.2019
    • 1515views
    • 3comments
    0
  • SOUFIANE DAHIMI
    Level 32
    Marrakech
    Question about the task Rarest bytes
    Java Core, Level 8, Lesson 3
    Under discussion
    please what's wrong with this code !!!???please what's wrong with this code !!!???
    • 08.12.2019
    • 1283views
    • 1comment
    0
  • Iliri Cani
    Level 37
    Tirana
    Question about the task Circular iterator
    Java Collections, Level 7, Lesson 4
    Under discussion
    Help pleaseI get the expected output but it says timeoout validation.
    • 25.09.2019
    • 1206views
    • 2comments
    0
  • MecoS
    Level 16
    Question about the task Software update
    Java Syntax, Level 8, Lesson 11
    Under discussion
    Maybe i didn't understand the questionMaybe i didn't understand the question
    • 08.12.2019
    • 1031views
    • 2comments
    0
  • Niranjan Soni
    Level 15
    Bangalore
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Under discussion
    removeAllNumbersGreaterThan10 must work with set of any size not satisfying this condition.Now what's wrong in my code
    • 30.09.2018
    • 2245views
    • 8comments
    0
  • catalinene
    Level 29
    Greven
    Question about the task Number of letters
    Java Syntax, Level 10, Lesson 11
    Resolved
    So my output looks good, but the 3rd condition is not validatedSo I understand the task in the following way: -example: check if the word contains the letter "a", if yes increment the respective counter. So if every word (total of 10 inputs) has the letter 'a' in it then the output for the first line should be: a 10 . And my code does that, but the 3rd condi
    • 08.12.2019
    • 987views
    • 2comments
    0
  • MecoS
    Level 16
    Question about the task Five winners
    Java Syntax, Level 8, Lesson 11
    Under discussion
    Help... this is impossible. Tested on Intellij it was ok.. Online did not pass the test. Sorry but is a basic standard bouble sort descendent. I try ascending and descending and ok.. I didn't understand why..
    • 08.12.2019
    • 1026views
    • 1comment
    0
  • Keith Emery
    Level 17
    Saint Louis
    Question about the task Chicken factory
    Java Core, Level 4, Lesson 6
    Resolved
    My code compiles and runs without errors but fails the requirements. Why?I think my code adheres to the requirements laid out in the exercise but it fails the fourth, sixth and seventh requirements despite having compiled and run without errors. Suggestions are much appreciated.
    • 04.09.2019
    • 1425views
    • 2comments
    1
  • Павел Артеменко
    Level 41
    Krasnodar
    Question about the task Archiver (part 10)
    Java Multithreading, Level 7, Lesson 15
    Resolved
    What I am missing?Tested on directory and single file - works as intended, but verification failed.
    • 17.05.2019
    • 1841views
    • 3comments
    0
  • Carlos Cortázar
    Level 17
    Madrid
    Question about the task Sorting even numbers from a file
    Java Core, Level 3, Lesson 11
    Archived
    Why this doesn't validate?The mentor says "the program displays too few lines", but when I run the program it runs and show all the numbers
    • 06.12.2019
    • 1104views
    • 5comments
    0
  • Giang
    Level 2
    Frankfurt am Main
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Resolved
    Not passing the 4th requirement (double)Hello everyone, for some reason I am unable to pass the 4th requirement even though I casted celsius already. Do you have any idea how I could fix it? Thanks a lot!
    • 12.05.2019
    • 1857views
    • 4comments
    0
  • 1
  • ...
  • 247
  • 248
  • 249
  • 250
  • 251
  • ...
  • 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