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
  • Nicolas Huet
    Level 41
    Provins
    Question about the task Restaurant (part 5)
    Java Multithreading, Level 9, Lesson 15
    Archived
    Please help :)It seems that I fuflill the conditions, the output is correct. I don't know why this doesn't validate... If someone could point me the right direction so I can continue this big task that would be awsome! Thanks in advance
    • 17.10.2019
    • 1267views
    • 15comments
    0
  • Naina Sahu
    Level 4
    Mumbai
    Question about the task Part of a calculator
    Java Syntax, Level 2, Lesson 2
    Under discussion
    what is the code by declaring only two variables.
    • 18.01.2019
    • 1721views
    • 3comments
    0
  • BlueJavaBanana
    Level 37
    Question about the task Array of string lists
    Java Syntax, Level 10, Lesson 11
    Resolved
    Any deas why I am failing the first Requirements?The program seems to function as expected. But it is failin to pass first requirement.
    • 26.04.2020
    • 1037views
    • 3comments
    1
  • Sebastian Fyhr
    Level 41
    Stockholm
    Question about the task Number of letters
    Java Syntax, Level 10, Lesson 11
    Under discussion
    last condition...Hi, Please assist me what cause the last condition to fail. I tried it without using a hasmap, just printing it on line 46 instead of adding to the Map.
    • 12.06.2020
    • 477views
    • 2comments
    1
  • hidden #10625598
    Level 23
    Question about the task Hippodrome (part 15)
    Java Multithreading, Level 1, Lesson 16
    Under discussion
    what should i display here if not this? line 39
    • 26.07.2020
    • 468views
    • 2comments
    0
  • 王诗凯
    Level 23
    Redwood City
    Question about the task What's in the folder?
    Java Collections, Level 1, Lesson 4
    Resolved
    Really need some help!I test my code well on the local machine, how ever, it failed on the website and even didn't show which condition I hadn't match! Wired...
    • 24.07.2020
    • 451views
    • 3comments
    0
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task Encryption
    Java Core, Level 8, Lesson 11
    Under discussion
    What is wrong with decryption?need hint
    • 19.04.2019
    • 1413views
    • 3comments
    0
  • Seferi
    Level 22
    Question about the task Census
    Java Syntax, Level 8, Lesson 8
    Resolved
    What am I doing wrong?Tried it with equals as well to no avail...
    • 04.07.2020
    • 595views
    • 1comment
    0
  • Jesús de Llera
    Level 23
    Badajoz
    Question about the task Building a file
    Java Core, Level 8, Lesson 11
    Resolved
    Not all file input streams were closed??Hi everyone, Apparently there is a stream that needs to be closed. It might be that I'm going blind or something but I can only see three streams in my code. Hope you can see the missing stream that is not being closed : | Thanks in advance!
    • 08.06.2019
    • 1533views
    • 2comments
    0
  • Filip
    Level 4
    Karlovac
    Question about the task Seasons on Terra
    Java Syntax, Level 4, Lesson 4
    Resolved
    checkSeason methodWhat is wrong?
    • 27.11.2018
    • 2685views
    • 4comments
    0
  • hidden #10645646
    Level 16
    Question about the task Chicken factory
    Java Core, Level 4, Lesson 6
    Under discussion
    Anyone else sick of the validator?First of all, yes I know I added code but that was just to illustrate that the code works like it's supposed to. Here's the output I get: 25 I am a chicken. I come from Africa. I lay 25 eggs a month. 15 I am a chicken. I come from North America. I lay 15 eggs a month. 12 I am a chicken. I come fro
    • 25.07.2020
    • 336views
    • 1comment
    0
  • andy 6473
    Level 9
    Bangalore
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Under discussion
    What is wrong in my codeaasada
    • 21.07.2020
    • 516views
    • 2comments
    0
  • Maxine Hammett
    Level 19
    San Diego
    Question about the task Functionality is not enough!
    Java Syntax, Level 10, Lesson 11
    Under discussion
    number should also be displayed it must not be lostI don't get what I'm doing wrong here. I have the code check if name is empty, if it is add to the hashmap "", id. Why am I getting number should also be displayed error?
    • 24.07.2020
    • 378views
    • 2comments
    0
  • Timothy Strickland
    Level 4
    Fairfax
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Need helpCode doesn't work, no idea as to why, doesn't print anything at all.
    • 25.07.2020
    • 437views
    • 2comments
    0
  • Brad Reed
    Level 19
    Hartford
    Question about the task Different methods for different types
    Java Core, Level 5, Lesson 12
    Resolved
    Help.Only the integer part of the task fails, everything else passes. not sure why the integer line fails. I've tried or (||) and and (&&) both fail. but everything else is fine...
    • 24.07.2020
    • 694views
    • 2comments
    0
  • Onome Brownly-Otiede
    Level 9
    Galway
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    pls helpI am still stuck with this task pls help
    • 14.07.2020
    • 451views
    • 2comments
    0
  • sagar
    Level 7
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Can someone tell why is it showing error please?expected '(' in 10th line
    • 18.07.2020
    • 523views
    • 4comments
    0
  • Madura Michael
    Level 4
    Mumbai
    Question about the task Maximum of four numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    need help pleasewhat is wrong with my code
    • 16.07.2020
    • 369views
    • 1comment
    0
  • Yash
    Level 15
    Sugar Hill
    Question about the task OOP: Method overloading
    Java Core, Level 5, Lesson 12
    Under discussion
    idk lolI followed the example in the conditions.
    • 24.11.2019
    • 1275views
    • 5comments
    0
  • Ibaad Ali.
    Level 3
    Rawalpindi
    Question about the task Square of a number
    Java Syntax, Level 1, Lesson 8
    Under discussion
    Can anybody help me?I cant solve this!
    • 16.07.2020
    • 571views
    • 3comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task UnsupportedFileName
    Java Core, Level 8, Lesson 8
    Under discussion
    One conditionHelp me pls
    • 28.06.2019
    • 1525views
    • 3comments
    0
  • Jurabek Kuralbaev
    Level 8
    Tashkent
    Question about the task Hello, StarCraft!
    Java Syntax, Level 3, Lesson 4
    Under discussion
    How can I resolve this?Please help me with this!
    • 23.07.2020
    • 442views
    • 4comments
    0
  • Patrick Wenk
    Level 5
    Unterstedt
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    DebugFailing both one-digit requirements. I tested some by putting in a one-digit number, seems to work fine. Also it tells me I am printing more than the number description. I have no clue what could cause that.
    • 01.03.2020
    • 926views
    • 5comments
    1
  • Velociraptor
    Level 3
    Bangalore
    Question about the task Print three times
    Java Syntax, Level 2, Lesson 8
    Under discussion
    guys i dont know whats wrongthis is my code package com.codegym.task.task02.task0219; /* Print three times */ public class Solution { public static void print3(String s) { //write your code here System.out.println("window"); System.out.println("file"); } public static
    • 24.07.2020
    • 397views
    • 1comment
    0
  • David
    Level 26
    Bucharest
    Question about the task Number algorithms
    Java Core, Level 10, Lesson 10
    Under discussion
    This task is not clear for me.For example: if I pass a number N (380) to getNumbers method this should return all numbers from 0 to N that satisfy the condition?
    • 24.07.2020
    • 625views
    • 1comment
    0
  • Surya
    Level 33
    Newark
    Question about the task Let's make the code do something useful!
    Java Syntax, Level 9, Lesson 11
    Resolved
    Can someone help me with thisI tried multiple solutions for 1 hr and didn't work with any of those
    • 27.05.2020
    • 536views
    • 5comments
    1
  • Catherine
    Level 23
    London
    Question about the task John Johnson
    Java Core, Level 9, Lesson 11
    Under discussion
    validator says name cannot be converted from String to intI didn't think it was supposed to and other examples leave name as a String. What am I doing wrong?
    • 23.07.2020
    • 388views
    • 2comments
    0
  • Garrett Bowler
    Level 3
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Under discussion
    Help to others who were also tossed into this with no for loop knowledgethis can be achieved by starting with "for" (no quotes) then creating an integer, assigning a value to it, specifying a parameter for it such as x<10 or i<7. at this point i++ can be used to increment your integer i after your print command is run. we're encouraged not to look things up so we
    • 22.07.2020
    • 538views
    • 3comments
    0
  • Raisa Toscano
    Level 22
    Tepic
    Question about the task Software update
    Java Syntax, Level 8, Lesson 11
    Resolved
    whatis wrong in this code?
    • 06.01.2019
    • 1644views
    • 4comments
    0
  • Velociraptor
    Level 3
    Bangalore
    Question about the task Task with percentages
    Java Syntax, Level 3, Lesson 3
    Under discussion
    i cant understand this thingmy code package com.codegym.task.task03.task0304; /* Task with percentages */ public class Solution { public static double addTenPercent(int i) { //write your code here addTenPercent(9); } public static void main(String[] args) { System.out.println(addTenPerc
    • 24.07.2020
    • 705views
    • 1comment
    0
  • 1
  • ...
  • 161
  • 162
  • 163
  • 164
  • 165
  • ...
  • 371
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