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
  • Mike McKenna
    Level 25
    Wilmington
    Question about the task List of number arrays
    Java Syntax, Level 9, Lesson 11
    Resolved
    fails to compileHi, can't find my error. on both IDE task won't compile. on Intelli J return statement on line 22 creates a green lines. can't find symbol list/List lines 24-29. Thanks
    • 11.12.2019
    • 1565views
    • 5comments
    0
  • Raj Mishra
    Level 15
    India
    Question about the task To the top of the list
    Java Syntax, Level 7, Lesson 6
    Under discussion
    2nd last condition is failing. Need help to understand the conditionHi, I dont understand why the 2nd last condition is failing. Could anyone please clarify the meaning of this condition. I also tried adding to the list in the reverse order. But still, it is failing
    • 02.01.2020
    • 854views
    • 3comments
    0
  • Bogdan Codreanu
    Level 23
    Question about the task Picking out numbers
    Java Core, Level 9, Lesson 5
    Under discussion
    some help please??
    • 21.08.2019
    • 1336views
    • 2comments
    0
  • Tara Edwards
    Level 6
    Question about the task Cat and Dog objects: 50,000 each
    Java Syntax, Level 6, Lesson 5
    Under discussion
    Failing last requirementSo - I changed 50000 to 500000 (although i'm not sure I understand why that was recommended to be honest) but I'm still failing the last requirement :(
    • 13.09.2019
    • 1861views
    • 8comments
    0
  • Kim Sangwoo
    Level 4
    Singapore
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Under discussion
    I dont get why my code fails the last condition ....?import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner scan = new Scanner(System.in); int side1 = scan.nextInt(); int side2 = scan.nextInt(); int side3 = scan.nextInt();
    • 03.01.2020
    • 822views
    • 1comment
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task Sequential file output
    Java Core, Level 6, Lesson 13
    Resolved
    Last condition not passingI'm really confused how the fifth condition could have passed but not the last one. Please help
    • 25.12.2019
    • 1774views
    • 8comments
    0
  • Rad
    Level 8
    Maidstone
    Question about the task Cats in the Universe
    Java Syntax, Level 4, Lesson 2
    Resolved
    i need helphow to store no.of objects in variable count
    • 15.10.2018
    • 2651views
    • 7comments
    0
  • Evghenii Seremet
    Level 41
    London
    Question about the task Restaurant (part 15)
    Java Multithreading, Level 9, Lesson 15
    Resolved
    Second condition not validating.I created the ManagerTablet object in Restaurant class, and called the methods. Can't get what the problem could be.
    • 02.01.2020
    • 938views
    • 2comments
    0
  • Pedzi
    Level 22
    Cape Town
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    Someone please help. I am not getting why the "printing of the number of negative numbers in each set " is failing and again the zero test is also giving errorspackage com.codegym.task.task04.task0429; /* Positive and negative numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); String aa =
    • 03.01.2020
    • 1111views
    • 1comment
    0
  • Kim Sangwoo
    Level 4
    Singapore
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Under discussion
    my code satisfies all the conditions except the last one. I really dont get why. import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner scan = new Scanner(System.in); int side1 = scan.nextInt(); int side2 = scan.nextInt(); int side3 = scan.nextInt();
    • 03.01.2020
    • 883views
    • 1comment
    0
  • jajaceek
    Level 23
    Warszawa
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Archived
    The program is work ok but the last condition is not acceptedWhat is wrong with the code. It works ok but the web doesn't accept the last condition. Any suggestions?
    • 29.12.2019
    • 1165views
    • 2comments
    0
  • Izaura
    Level 4
    Sao Paulo
    Under discussion
    I don't know how to make Woman the owner of the pets - level 2 lesson 5public class Solution { public static void main(String[] args) { //escreva seu código aqui Cat cat = new Cat(); Dog dog = new Dog(); Fish fish = new Fish(); Woman woman = new Woman(); } public static class Cat { public Woman owner;
    • 20.11.2019
    • 1117views
    • 2comments
    0
  • dave
    Level 14
    Lancaster
    Question about the task List of number arrays
    Java Syntax, Level 9, Lesson 11
    Under discussion
    Am I reading the problem wrong?Am I adding the arrays correctly?
    • 18.04.2019
    • 1762views
    • 5comments
    0
  • ~mK
    Level 7
    Princeton, NJ
    Question about the task Seasons on Terra
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Seasons compile but last condition not metpackage com.codegym.task.task04.task0411; /* Seasons on Terra */ public class Solution { public static void main(String[] args) { checkSeason(12); checkSeason(4); checkSeason(7); checkSeason(10); } public static void checkSeason(int month) {
    • 29.12.2019
    • 936views
    • 3comments
    1
  • nan
    Level 9
    Lorient
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Under discussion
    can anybody find the pb plz?can anybody see where is the pb?
    • 01.01.2020
    • 1065views
    • 1comment
    0
  • nan
    Level 9
    Lorient
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Under discussion
    don't understand whycan anyone help me plz?
    • 01.01.2020
    • 1097views
    • 1comment
    0
  • Oliver Lutz
    Level 18
    Budapest
    Question about the task Exception when working with arrays
    Java Syntax, Level 9, Lesson 6
    Resolved
    Doesn't seem to verifyWhat is the problem ?
    • 31.12.2019
    • 1158views
    • 3comments
    0
  • SefoBe
    Level 16
    Paris
    Question about the task OOP: Cars
    Java Core, Level 5, Lesson 2
    Under discussion
    Last requirementAll methods are public but the last requirement is not met
    • 13.12.2019
    • 1438views
    • 2comments
    0
  • Angeget
    Level 22
    Potsdam
    Question about the task Different methods for different types
    Java Core, Level 5, Lesson 12
    Resolved
    do not know what i am doing wrong - please helpdo not know what i am doing wrong
    • 04.02.2019
    • 1804views
    • 2comments
    0
  • nan
    Level 9
    Lorient
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Under discussion
    can some body help me plz?package com.codegym.task.task08.task0817; import java.util.HashMap; import java.util.Map; import java.util.Iterator; import java.util.HashSet; /* We don't need repeats */ public class Solution { public static HashMap createMap() { //write your code here HashMap map = new Has
    • 01.01.2020
    • 1081views
    • 1comment
    0
  • Vaibhavi
    Level 5
    Vijayawada
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Tired of doing this..Can anyone help me in knowing where I am going wrong
    • 09.12.2019
    • 1318views
    • 2comments
    0
  • Jason
    Level 16
    Question about the task OOP: Arrange interfaces
    Java Core, Level 5, Lesson 2
    Resolved
    The Clothes class must support the Movable interface requirement?help please - what am I overlooking? I'm implementing the Moveable interface in the clothes class and implementing the isMovable() method...
    • 01.01.2020
    • 1047views
    • 2comments
    0
  • S V Aditya
    Level 4
    Delhi
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Numbers not in descending order The checker says my numbers aren't in descending order even though they are. What's going on? Code below: public class Solution { public static int
    • 01.01.2020
    • 1214views
    • 1comment
    0
  • Cz Ferencz
    Level 12
    Bucharest
    Question about the task Drawing lines
    Java Syntax, Level 4, Lesson 13
    Under discussion
    Nested?Shouldn't this be resolved with a nested loop? I for one did not have any ideas, for a nested loop, resolved with some help, but with 2 separate "for" loops. Anyone any hints?
    • 06.12.2019
    • 1532views
    • 4comments
    0
  • Cz Ferencz
    Level 12
    Bucharest
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Under discussion
    Look backDo the "Adding" exercise from Lesson 4 and it will help a lot with this one. I had problems with that one, but once i knew how to do that, this became way easier. :) Good luck!
    • 12.12.2019
    • 1118views
    • 1comment
    1
  • krystian
    Level 9
    Kozle
    Question about the task Console-based piggy bank
    Java Syntax, Level 5, Lesson 12
    Under discussion
    Can anybody see a mistake here? Console based - piggypublic class Solution { public static void mai
    • 31.12.2019
    • 976views
    • 2comments
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task Census
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Really not sure what to doPlease help
    • 01.11.2019
    • 1456views
    • 6comments
    0
  • Yvonne
    Level 7
    Nairobi
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Resolved
    Having a problem with the last conditionHaving a problem with the last condition I can't seem to figure out the problem. Please help!
    • 11.12.2019
    • 1472views
    • 4comments
    2
  • Alec Jensen
    Level 5
    Arlington
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Min of three still wont compute.I have gone over so many different ideas to get this to work and I am just stuck. Can someone discuss with me the reasoning?
    • 30.12.2019
    • 1130views
    • 2comments
    0
  • ~mK
    Level 7
    Princeton, NJ
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Under discussion
    This compiles fine, so what gives?package com.codegym.task.task04.task0414; /* divisible by 400 = leap divisible by 4 = leap divisible by 100 = regular */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner kb = new Scanner(System.in);
    • 30.12.2019
    • 1356views
    • 1comment
    0
  • 1
  • ...
  • 242
  • 243
  • 244
  • 245
  • 246
  • ...
  • 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