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
  • Sargam
    Level 3
    Aligarh
    Question about the task Print three times
    Java Syntax, Level 2, Lesson 8
    Under discussion
    can't verify output fulfills the conditions . still it shows fifth condition unsatisfied . Help
    • 10/20/18
    • 1876views
    • 7comments
    0
  • Marek Foto
    Level 2
    Gdansk
    Under discussion
    Błąd w lekcji https://codegym.cc/pl/quests/lectures/pl.questsyntax.level00.lecture04Baśka, zmienne i typy danych https://codegym.cc/pl/quests/lectures/pl.questsyntax.level00.lecture04 Błędne wyjaśnienie które zaznaczyłem w załączniku napisano w w/w kursie np. int x = 1; wyjaśniono to jako „ x równa się 1„ wyjaśniam że to jest błąd - powinno być to opisane jako np.: że do zmi
    • 7/28/20
    • 521views
    • 1comment
    0
  • Mnemonic
    Level 9
    london
    Resolved
    Level 3 task 8 Plan to conquer the world Can someone please have a look at this as it's becoming incredibly frustrating. What am I missing here ? public class Solution { public static void main(String[] args) throws Exception { // Scanner input = new Scanner(System.in);// // int number = input.nextInt(); //
    • 7/27/20
    • 420views
    • 1comment
    0
  • Dyrits
    Level 1
    Question about the task 2048 (Part 13/18)
    Games, Level 0, Lesson 2
    Resolved
    Why my method is not valid? /** * Returns the maximum value in the gameField matrix. */ private int getMaxTileValue() { int max = 2; for (int x = 0; x < SIDE; x ++) { for (int y = 0; y < SIDE; y++) { max = Math.max(gameField[x][y], max); }
    • 7/28/20
    • 458views
    • 1comment
    0
  • Павел Артеменко
    Level 41
    Krasnodar
    Question about the task Numeral system converter
    Java Multithreading, Level 10, Lesson 2
    Under discussion
    What am i missing?Seems ok, all my tests passed, but verification failed.
    • 5/21/19
    • 1484views
    • 6comments
    1
  • Valerie
    Level 12
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Resolved
    What is wrong here? I don't understand.I tested the program with N values equal 0 and negative numbers and it doesn't display anything. I don't understand why the program is failing the last requirement.
    • 7/17/20
    • 858views
    • 4comments
    0
  • gabe
    Level 6
    Greenville
    Question about the task Sum of the digits of a three-digit number
    Java Syntax, Level 3, Lesson 12
    Under discussion
    yo i cant make heads or tails out of thisit says 600 but i dont exactly know why
    • 7/27/20
    • 681views
    • 2comments
    0
  • Michael
    Level 10
    Dresden
    Question about the task KissMyShinyMetalRearActuator
    Java Syntax, Level 6, Lesson 11
    Under discussion
    Validator complains about missing new object in the main method, why?Didn't I create create an object of the KissMyShinyMetalRearActuator class in the main method?
    • 2/1/20
    • 1429views
    • 5comments
    0
  • Lawson
    Level 29
    Lagos
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    Helppls ..I can't get past the last requirement
    • 7/27/20
    • 530views
    • 1comment
    0
  • Julian Camilo Morales Agudelo
    Level 8
    Medellin
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Under discussion
    what happen with my code, it works wellCan anybody check my code please. package com.codegym.task.task05.task0532;
    • 7/26/20
    • 854views
    • 4comments
    0
  • sagar
    Level 7
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Under discussion
    Help plzCan someone check my code and tell me where I'm wrong?
    • 7/27/20
    • 533views
    • 1comment
    0
  • Lawson
    Level 29
    Lagos
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 4
    Resolved
    Pls I didn't get any of the tasks write...I need heloThe questions seem a little bit confusing
    • 7/26/20
    • 798views
    • 1comment
    0
  • hidden #10568956
    Level 9
    Question about the task Positive number
    Java Syntax, Level 4, Lesson 7
    Resolved
    It works but it don't work.My code does what is intended to do but some how i can't get one of the validation. >>>>>The program should display the number of positive numbers in the original set.<<<<<<
    • 1/6/20
    • 1468views
    • 6comments
    0
  • Jeremi Nuer
    Level 7
    San Francisco
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Under discussion
    Trying to initialize maximum so that it will incorporate all negative numbers.At first, I was setting maximum as 0, and telling the program to only increase the maximum if the number was greater than 0. The problem became that when all the numbers are less than 0, nothing happens, the maximum stays at 0. No matter how low I set the maximum, this problem stays. The solution I
    • 7/27/20
    • 666views
    • 3comments
    0
  • Iliri Cani
    Level 37
    Tirana
    Question about the task RMI (part 2)
    Java Collections, Level 2, Lesson 10
    Under discussion
    Whats wrong with this!!last condition doesn't validate.
    • 9/10/19
    • 1640views
    • 5comments
    0
  • Filip
    Level 4
    Karlovac
    Question about the task Sum of the digits of a three-digit number
    Java Syntax, Level 3, Lesson 12
    Under discussion
    Sum of the digits of a three-digit numberWhats wrong with my code? Could anyone help!
    • 11/19/18
    • 4070views
    • 13comments
    0
  • Hari
    Level 8
    Worcester
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    how to check condition for 0. I can't write x = 0 && y =0 && z=0package com.codegym.task.task04.task0429; /* Positive and negative numbers */ import java.io.*; import java.util.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here Scanner scanner = new Scanner(System.in);
    • 7/24/20
    • 648views
    • 4comments
    0
  • Mysnikol Miller
    Level 7
    Lutsen
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Resolved
    The code works so WHY is it not validating?I cannot figure out how to get this to validate. The code works.
    • 7/27/20
    • 541views
    • 1comment
    0
  • joshua
    Level 25
    thorville
    Question about the task Snake (Part 9/20)
    Games, Level 0, Lesson 1
    Resolved
    how is the last requirement not met!!!i don't understand...can u explain
    • 4/24/20
    • 1309views
    • 12comments
    0
  • Seferi
    Level 22
    Question about the task Initializing cats
    Java Syntax, Level 5, Lesson 7
    Resolved
    Little help please...We already did a similar (or exactly same) exercise.. I don't get why this doesn't work now...
    • 6/18/20
    • 947views
    • 5comments
    0
  • hidden #10589341
    Level 19
    Question about the task Safe retrieval from a list
    Java Syntax, Level 10, Lesson 11
    Resolved
    What is wrong in my code????I can not fine the better solution. Please help me !!! Thanks a lot.
    • 3/5/20
    • 1229views
    • 2comments
    1
  • George
    Level 6
    Chiajna
    Question about the task Do we have a pair?
    Java Syntax, Level 4, Lesson 4
    Under discussion
    all 3 are equalI don't know what i did wrong here
    • 7/27/20
    • 545views
    • 1comment
    0
  • flioletty
    Level 7
    Dolgoprudnyy
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Under discussion
    help plsit writes "illegal start of expression" in line 27 and I totally dont understand whyyy
    • 7/27/20
    • 739views
    • 2comments
    0
  • Brad Reed
    Level 19
    Hartford
    Question about the task Animal identification
    Java Core, Level 2, Lesson 2
    Resolved
    Can’t use else....No matter what I do I can’t get this to compile. If I leave the bottom part alone, incorrect values. If I use an else statement (or even else if) I get missing return statement }. When it’s clearly there. So then I tried doing instanceof, fo the end and it tells me that’s an unreachable statement. S
    • 7/13/20
    • 565views
    • 1comment
    0
  • Niladri pradhan
    Level 33
    Mumbai
    Question about the task Restaurant (part 7)
    Java Multithreading, Level 9, Lesson 15
    Under discussion
    Whats wrongI don't understand why it didn't pass verification
    • 1/6/20
    • 934views
    • 2comments
    0
  • Learner
    Level 16
    Question about the task The code won't compile…
    Java Syntax, Level 9, Lesson 11
    Resolved
    Program too too long and closed. What's wrong?What am I missing here?
    • 9/25/18
    • 2838views
    • 6comments
    1
  • 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
    • 10/17/19
    • 1452views
    • 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.
    • 1/18/19
    • 1882views
    • 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.
    • 4/26/20
    • 1148views
    • 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.
    • 6/12/20
    • 575views
    • 2comments
    1
  • 1
  • ...
  • 163
  • 164
  • 165
  • 166
  • 167
  • ...
  • 374
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 © 2026 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2026 CodeGym