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
  • Zhuoliang Pu
    Level 31
    Foster City
    Question about the task Bridges
    Java Core, Level 4, Lesson 8
    Under discussion
    need some help!I don't know why it is not verified...
    • 12/25/19
    • 1141views
    • 2comments
    0
  • Alban
    Level 14
    Kukes
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Please help ?I can't understand this please help...
    • 1/7/20
    • 1042views
    • 3comments
    0
  • Jonah Poulson
    Level 5
    New Haven
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Under discussion
    The last task is not verifyingThe last task is not verifying
    • 1/8/20
    • 1199views
    • 2comments
    0
  • krystian
    Level 9
    Kozle
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Under discussion
    N-entered numbers. HelpCould you help me to write a method to calculate maximum of N entered numbers? public class Solution { public static void main(String[] args) throws Exception { Scanner sc1 = new Scanner
    • 1/4/20
    • 1091views
    • 1comment
    0
  • matt
    Level 24
    Springfield
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Under discussion
    Quite confused with thisEven after looking at the help section at others codes I am quite confused at this and how I should add all the numbers then divide by the total and print it out.
    • 1/6/20
    • 1348views
    • 3comments
    0
  • Daniel W Hair
    Level 8
    Salt Lake City
    Under discussion
    Code isn't compiling - https://codegym.cc/tasks/com.codegym.task.task02.task0216This is my code It says the variable m might not have been initialized, but when I try to initialize it with 0 or -2147483648 the number I initialize it with is what it returns. It's like it ignores calling min method. I'm lost. ------------------- /* Minimum of three numbers */ public class Sol
    • 1/7/20
    • 971views
    • 1comment
    0
  • krystian
    Level 9
    Kozle
    Question about the task Cat and Dog objects: 50,000 each
    Java Syntax, Level 6, Lesson 5
    Under discussion
    Someone know why it Does not work? public class Solution { public static void main(String[] args) { for (int x = 0; x<=5
    • 1/7/20
    • 1343views
    • 2comments
    0
  • Jonah Poulson
    Level 5
    New Haven
    Question about the task Seasons on Terra
    Java Syntax, Level 4, Lesson 4
    Under discussion
    This code runs but it only prints the first two values.This code runs but it only prints the first two values. It doesn't print checkSeason(7) and checkSeason(10)
    • 1/7/20
    • 1038views
    • 3comments
    0
  • max
    Level 8
    livorno
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Resolved
    help neededwhen i'm trying to validate my code i get error message the fourth condition is not meet. Here my code: import java.util.*;
    • 1/4/20
    • 1285views
    • 1comment
    0
  • max
    Level 8
    livorno
    Question about the task Three numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    last condition not satisfiedif i'm runnig my code without verification in working correctly, but when i'm asking the verification the system replay me tha last condition is not met. my code: package com.codegym.task.task04.task0424;
    • 1/6/20
    • 1140views
    • 1comment
    0
  • max
    Level 8
    livorno
    Question about the task Escaping characters
    Java Syntax, Level 3, Lesson 6
    Resolved
    verification problemHere below my code: public class Solution {
    • 12/25/19
    • 1451views
    • 3comments
    0
  • Serg
    Level 23
    Tyumen
    Question about the task Improving functionality
    Java Syntax, Level 5, Lesson 12
    Under discussion
    This method is clearly superfluous.Why do you need this method? public static int min(int minim, int e) { return minim < e ? minim : e; } This method is clearly superfluous.
    • 5/14/19
    • 1757views
    • 6comments
    0
  • Aditya
    Level 5
    Baleshwar
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    My code won't pass dunno why?? 😞I don't know what test case won't work for entering 0
    • 1/4/20
    • 1207views
    • 2comments
    0
  • Alec Jensen
    Level 5
    Arlington
    Question about the task Task with percentages
    Java Syntax, Level 3, Lesson 3
    Under discussion
    added and ran correct but does not meet the first requirement?Can someone EXPLAIN why this is not correct? It compiles but it does not verify correct.
    • 1/5/20
    • 1269views
    • 2comments
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task Transactionality
    Java Core, Level 7, Lesson 10
    Resolved
    Please helpI just can't pass those 4 conditions
    • 1/6/20
    • 984views
    • 2comments
    0
  • Kim Sangwoo
    Level 4
    Singapore
    Question about the task Day of the week
    Java Syntax, Level 4, Lesson 4
    Under discussion
    I keep getting compilation error saying " error: reached the end of file while parsing" What does this mean? How can I correct this??I keep getting compilation error saying " error: reached the end of file while parsing" What does this mean? How can I correct this??
    • 1/3/20
    • 984views
    • 2comments
    0
  • Michael
    Level 10
    Dresden
    Question about the task Console-based piggy bank
    Java Syntax, Level 5, Lesson 12
    Resolved
    I am unable to get the sum of n numbers. Can anyone give me an advice what to do?The print statement prints each number, but does not add them up although it should int total =+ n;
    • 1/5/20
    • 1195views
    • 4comments
    0
  • Viktor Blank
    Level 14
    Berlin
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Resolved
    Where is the mistake?Only displaying the Strings is wrong.. Where is the mistake? Thanks for help
    • 1/6/20
    • 1826views
    • 2comments
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task Transactionality
    Java Core, Level 7, Lesson 10
    Resolved
    Please helpReally unsure why all those conditions are failing Edit: I've moved lines 44/45 and 49/50 out of the loops. Still failing
    • 1/3/20
    • 1289views
    • 8comments
    0
  • TYLOR WAITS-MONDRAGON
    Level 13
    Chicago
    Question about the task A big fox is still a fox
    Java Core, Level 3, Lesson 4
    Under discussion
    stuck on thisWhile I understand the general idea of Abstract classes, I am struggling with understanding static/abstract (especially when together). Not sure why I cannot get my code to even compile. Any help is appreciated
    • 1/3/20
    • 1182views
    • 1comment
    0
  • Alban
    Level 14
    Kukes
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Under discussion
    What is wrong? ?What is wrong? ?
    • 12/30/19
    • 1414views
    • 5comments
    0
  • Joost
    Level 9
    Oldenzaal
    Question about the task Cats in the Universe
    Java Syntax, Level 4, Lesson 2
    Under discussion
    Clarification on this subject within java.Hello, does anyone have good tips where I can get some more clarification on this subject within java? Youtube or an article. It all remains a bit foggy. thanks in advance
    • 1/4/20
    • 1174views
    • 4comments
    1
  • Evghenii Seremet
    Level 41
    London
    Question about the task Restaurant (part 10)
    Java Multithreading, Level 9, Lesson 15
    Resolved
    Can someone point where the problem is?When i test it, Advertisement objects with zero impressions do not get included in the lists. But still not validating. Thank you.
    • 12/29/19
    • 1310views
    • 1comment
    0
  • Ilia Kalugin
    Level 25
    Novara
    Question about the task Software update
    Java Syntax, Level 8, Lesson 11
    Resolved
    I need help!Please , give me a key -whats wrong in my code?
    • 12/20/19
    • 1581views
    • 11comments
    0
  • Crystal Chong
    Level 7
    Bellevue
    Resolved
    What does this error mean?/* Predictions */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { Scanner scanner = new Scanner(System.in); String name = scanner.nextLine(); String number1 = scanner.nextLine(); String number2 = scanner.next
    • 1/5/20
    • 996views
    • 1comment
    0
  • Anjali Sharma
    Level 6
    Chennai
    Question about the task Maximum of four numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    What's wrong with this compiler !!!!Debug
    • 10/3/18
    • 2147views
    • 5comments
    0
  • Rafał Szrajnert
    Level 7
    Poddebice
    Question about the task Somehow average
    Java Syntax, Level 4, Lesson 16
    Under discussion
    it gives middle numberi think my code doesnot look good, is very long but I get middle number verification says no?!?!
    • 12/28/19
    • 1323views
    • 4comments
    0
  • ozayr ahmed
    Level 11
    Paterson
    Question about the task Minimum number of statics
    Java Syntax, Level 6, Lesson 11
    Resolved
    Need help understanding staticWhy doesn't method4 need a static keyword while all the others need it when they're being referenced ?
    • 10/30/18
    • 2083views
    • 4comments
    0
  • Diana Pettit
    Level 4
    Mobile
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    What am I doing wrong?It says I need brackets but I already have brackets. :(
    • 12/30/19
    • 1448views
    • 4comments
    0
  • Keerthana Vijayakumar
    Level 19
    Mumbai
    Question about the task Snake (Part 14/20)
    Games, Level 0, Lesson 1
    Under discussion
    Please help me to figure it outI can't understand why it's not getting verified Please help me!!!!!
    • 8/5/19
    • 1606views
    • 2comments
    1
  • 1
  • ...
  • 243
  • 244
  • 245
  • 246
  • 247
  • ...
  • 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