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
  • Bryce Lindley
    Level 9
    Olympia
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Resolved
    Am I on the right track?Any tips would be great :)
    • 08.09.2019
    • 1143views
    • 2comments
    0
  • Aditya
    Level 2
    Raipur
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    Can anyone have a look at my code?I'm unable to pass the last test but in the test section getting correct outputs. Thanks in advance.
    • 01.09.2018
    • 1591views
    • 4comments
    0
  • Profj
    Level 20
    Lagos
    Question about the task In decreasing order
    Java Syntax, Level 7, Lesson 12
    Resolved
    Please help.This also works perfectly, but not verifying.
    • 08.06.2019
    • 1659views
    • 4comments
    0
  • past cham
    Level 6
    Delhi
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    how to solvehow to solve
    • 22.03.2019
    • 1514views
    • 3comments
    0
  • hidden #10484120
    Level 13
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Can't satisfy the last tree requirements, don't know what's wrongCan't figure out what's wrong with my code. Please help and give a hint! Thanks
    • 04.09.2019
    • 1283views
    • 5comments
    0
  • Laurence Chadwell
    Level 4
    San Antonio
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Under discussion
    I feel like I have it down correctly but it still not accepting my leap year statementpackage com.codegym.task.task04.task0414; /* Number of days in the year */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); if(x %
    • 20.08.2019
    • 1603views
    • 2comments
    0
  • Henk
    Level 19
    Pretoria
    Question about the task Countdown at the races
    Java Core, Level 6, Lesson 10
    Resolved
    Does ANYONE understand the requirements ? Coding this is easy, but coding what you THINK they want is VERY difficult. (1) How can your code run longer than 4 seconds if you had to put a sleep of 3 and a half seconds in the main program part ? (2) If you interrupt it, from the main program, it has already completed, because it only sleeps a
    • 28.05.2019
    • 1843views
    • 6comments
    0
  • Mykhailo Kuvshynov
    Level 8
    Dnipro
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Resolved
    HelpFirst of all I don't understand sense of lines 23-25. And also why wouldn't it work?
    • 06.09.2019
    • 1411views
    • 3comments
    0
  • Ewerton
    Level 30
    Belo Horizonte
    Question about the task Iterating through a file tree
    Java Collections, Level 1, Lesson 2
    Archived
    "Close output stream..." Bug or am I distracted?
    • 07.07.2019
    • 1374views
    • 4comments
    3
  • Martin Evtimov
    Level 22
    Chicago
    Question about the task Parenthetical brainteaser
    Java Syntax, Level 3, Lesson 4
    Resolved
    HelpI tried to look deeper but this is way too much. In my opinion, this task doesn't teach you anything. It's only time consuming.... package com.codegym.task.task03.task0306; /* Parenthetical brainteaser */ public class Solution { public static void main(String[] args) { System.out.p
    • 19.08.2018
    • 3566views
    • 29comments
    2
  • Łukasz Szajek
    Level 6
    Poznan
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    does not go through verificationHello, It runs', displays proper results, but doesn't verify :/ Please help
    • 23.08.2019
    • 1059views
    • 3comments
    0
  • smile
    Level 7
    Tainan
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    What's wrong with my min method?I run the code, and it shows: 1 -3 3 5 It seems correct, but I still failed. Why?
    • 07.05.2019
    • 1606views
    • 4comments
    0
  • asyraf
    Level 3
    Kuala Lumpur
    Question about the task Minimum of two numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    doesn't understandI cannot seem understand what happen on my code and does i make mistake? why the output do not come out
    • 30.04.2019
    • 1846views
    • 9comments
    0
  • Jay
    Level 17
    Washington
    Question about the task Different methods for different types
    Java Core, Level 5, Lesson 12
    Under discussion
    I'm stuck on this one I'd appreciate your help. Thanks.
    • 06.09.2019
    • 1333views
    • 2comments
    0
  • Payal Agarwal
    Level 17
    Bucharest
    Question about the task Template pattern
    Java Core, Level 5, Lesson 12
    Under discussion
    I am not getting thisI am not getting this
    • 06.09.2019
    • 1386views
    • 2comments
    0
  • Mike McKenna
    Level 25
    Wilmington
    Question about the task Even to the moon!
    Java Syntax, Level 2, Lesson 8
    Resolved
    What about newtons ?Hi, I found 2 ways to get the right answer . When I go to verify failure occurs because I don't mention newtons any where . As I read thru questions / comments . I find no mention of newtons . Thanks Mike McKenna When i changed moonWeight to lunarWeight .task verified . even with uneven math
    • 23.04.2019
    • 2231views
    • 3comments
    0
  • Cristian
    Level 16
    Bucharest
    Question about the task Getters and setters for the Person class
    Java Syntax, Level 5, Lesson 5
    Under discussion
    Nothing is validated. Why? package com.codegym.task.task05.task0508; /* Getters and setters for the Person class */ public class Person { String name; int age; char sex; public String getName() { return name; } public void setName() { this.name = name; } publi
    • 04.09.2019
    • 1226views
    • 3comments
    0
  • Nicolas Huet
    Level 41
    Provins
    Question about the task Wait and see
    Java Multithreading, Level 5, Lesson 9
    Resolved
    Hello, I must be in the wrong direction, can someone give me a hint?Since I have not even one validation, I think I'm leaning in the wrong direction. Can someone give me a hint? Thank you.
    • 02.09.2019
    • 1209views
    • 2comments
    0
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task Identical words in a list
    Java Syntax, Level 10, Lesson 11
    Resolved
    What is wrong with my code?Output is: red 1 polska 2 asd 3 dream 3 gol 3 them 1 rivaldo 2 yeah 2 team 3
    • 31.01.2019
    • 1700views
    • 5comments
    0
  • Henry
    Level 6
    Stuttgart
    Question about the task Deep and pure love
    Java Syntax, Level 3, Lesson 8
    Resolved
    guideI have done this in several different ways but i kept getting it wrong. Which is the right way to do this task?
    • 05.09.2019
    • 1102views
    • 1comment
    0
  • smile
    Level 7
    Tainan
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Resolved
    9/5.0 or 9/5? Why?If I change 9/5.0 to 9/5, like the following below, it will return 105.0 instead of 105.8. Why? package com.codegym.task.task01.task0130; /* Our first converter! */ public class Solution { public static void main(String[] args) { System.out.println(convertCelsiusToFahrenheit(41));
    • 21.04.2019
    • 1974views
    • 3comments
    0
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task Politeness is an artificial good mood
    Java Multithreading, Level 6, Lesson 8
    Resolved
    Is It a BugPlease Help
    • 05.09.2019
    • 1087views
    • 1comment
    0
  • Sandeep Gill
    Level 4
    Amritsar
    Question about the task Parenthetical brainteaser
    Java Syntax, Level 3, Lesson 4
    Resolved
    unable to satisfied the condition that final expression should have 2 opening and 2 closing parentheses.I got the answer 382 with But unable to satisfied the condition that final expression should have 2 opening and 2 closing parentheses.
    • 23.01.2019
    • 2442views
    • 13comments
    0
  • Henry
    Level 6
    Stuttgart
    Question about the task More conversions
    Java Syntax, Level 3, Lesson 8
    Resolved
    halloWhat is the right procedure?
    • 03.09.2019
    • 1088views
    • 1comment
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task OOP: Cars
    Java Core, Level 5, Lesson 2
    Under discussion
    what i must change? Last conditionHelp me pls
    • 26.06.2019
    • 1356views
    • 1comment
    0
  • Andrea
    Level 20
    Question about the task Making the top ten
    Java Core, Level 2, Lesson 12
    Resolved
    Why Is the Validator is Not Counting Three MethodsHello! Been trying out different solutions, however for some reason the validator is saying I don't have three methods, however I am counting exactly three: public static int transformValue(Integer i) public static int transformValue(int i) public static int transformValue(int i, int j) Please adv
    • 29.08.2019
    • 1623views
    • 3comments
    0
  • Brett Cole
    Level 10
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Under discussion
    ???Not sure why my counter. I created HashMap to hold key, values and then i was just gonna return highest value. But counter isn't incrementing please help
    • 03.09.2019
    • 1060views
    • 2comments
    0
  • Yashi Gupta
    Level 17
    Delhi
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Under discussion
    What's wrong with the code?Two requirements not met!package com.codegym.task.task08.task0817; import java.util.*; import java.util.HashMap; import java.util.Map; /* We don't need repeats */ public class Solution { public static HashMap createMap() { HashMap map = new HashMap(); map.put("Laxman","VVS"); map.put("Gupta","Ha
    • 31.08.2019
    • 1229views
    • 1comment
    0
  • captain jack
    Level 9
    Mumbai
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    I Can't find what is wrong!please help me out! I can't understand what is wrong in second condition :(
    • 13.07.2019
    • 1285views
    • 3comments
    0
  • Brett Cole
    Level 10
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    Somebody help me out here what am I missing?I pass all requirements except for the last one and I'm not sure why?
    • 28.08.2019
    • 1501views
    • 1comment
    0
  • 1
  • ...
  • 281
  • 282
  • 283
  • 284
  • 285
  • ...
  • 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