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
  • Nishant Bhatia
    Level 13
    Navi Mumbai
    Question about the task Snake (Part 12/20)
    Games, Level 0, Lesson 1
    Resolved
    What is the bug?Problems with move function. How to access the head?
    • 7/16/19
    • 1544views
    • 1comment
    0
  • Mateo
    Level 26
    Zagreb
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Resolved
    What is wrong here? package com.codegym.task.task08.task0812; import java.io.*; import java.util.ArrayList; import java.util.Collections; /* Longest sequence */ public class Solution { public static void main(String[] args) throws IOException { //write your code here BufferedReader br = new Bu
    • 3/19/19
    • 2496views
    • 9comments
    0
  • hidden #10465081
    Level 24
    Question about the task One for all, all for one
    Java Core, Level 6, Lesson 10
    Under discussion
    Can't find the bugWhere is the issue? Can t find it and I spent quite some time on this. So frustrating!
    • 7/10/19
    • 1922views
    • 3comments
    0
  • Yuchen
    Level 17
    Los Angeles
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Archived
    Please help me with this question. it drives me crazy!Pls help me to find out why I can't pass the verification, it seems everything is correct. I checked when the string start with a space, or when there are multiple spaces between words. Everything looks exactly like the requirement. Btw, when I use Code Analysis, it shows unknown error, which is pre
    • 7/16/19
    • 1777views
    • 6comments
    0
  • R S ROHITH KRISHNAN
    Level 6
    Chennai
    Question about the task Day of the week
    Java Syntax, Level 4, Lesson 4
    Resolved
    what is wrongwhat is wrong with this code ..i used the piping symbol first for the last condition it went like- if(number<0 ||number>7){ System.out.println("no such day available")} - but it stll showed the error ..so i changed to this code but still the error persists
    • 6/14/19
    • 1740views
    • 7comments
    0
  • Anand Sharma
    Level 6
    Mumbai
    Question about the task Console-based piggy bank
    Java Syntax, Level 5, Lesson 12
    Resolved
    What is Wrong i don't understand ?Can anybody help me to resolve problem ?
    • 7/14/19
    • 1462views
    • 3comments
    0
  • Mikayla Pace
    Level 27
    Salt Lake City
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Archived
    for loop not changing characters in array to uppercaseI'm not sure why my second for loop doesn't convert the characters in my character array to UpperCase.
    • 7/15/19
    • 1387views
    • 3comments
    0
  • Antonia
    Level 10
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    ??????????????package com.codegym.task.task05.task0532; import java.io.*; /* Task about algorithms */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int maxi = Integer.parseInt
    • 7/15/19
    • 1287views
    • 2comments
    0
  • Muhammed Hussein
    Level 20
    Cairo
    Question about the task Feline carnage
    Java Syntax, Level 5, Lesson 5
    Under discussion
    You need to conduct three fights. how ?You need to conduct three fights.
    • 11/17/18
    • 1929views
    • 8comments
    0
  • raulGLD
    Level 8
    Cluj-Napoca
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    Code if fine but I still don't get verifiedHey guys, please take a look and tell me why I don't get verified with this code, thank you!
    • 7/15/19
    • 1506views
    • 3comments
    0
  • Ryan
    Level 14
    Ashburn
    Question about the task Exception when working with Map collections
    Java Syntax, Level 9, Lesson 6
    Under discussion
    Not WorkingI'm doing essentially what worked in the other exercises but is not working for some reason. I've tried this in multiple ways and it keeps coming up as a fail.
    • 3/2/19
    • 1827views
    • 3comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Exception when working with arrays
    Java Syntax, Level 9, Lesson 6
    Under discussion
    give me solution pls(help pls(
    • 6/20/19
    • 1493views
    • 1comment
    0
  • hidden #10484120
    Level 13
    Question about the task Minimum of two numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Why m2?Hi all, I completed the exercise but I'm wondering why we are using the text "m2" to find the minimum? public class Solution { public static int min(int a, int b) { int m2; if (a < b) m2 = a; else m2 = b; return m2;
    • 7/15/19
    • 1339views
    • 1comment
    0
  • Emil Valentin Toma
    Level 6
    Stockport
    Question about the task Snake (Part 1/20)
    Games, Level 0, Lesson 1
    Resolved
    can't compileI've tried different java version, installed the engine folder in different places. The only error constantly popping is related to the main class. The main class can't be found. Although the class SnakeGame is the right path and all the instructions provided were carefully followed, the main class
    • 7/12/19
    • 2249views
    • 5comments
    0
  • Picvajzmen
    Level 20
    Belgrade
    Question about the task User, loser, coder and programmer
    Java Core, Level 4, Lesson 8
    Resolved
    what the hell is the problem.... The main method should stop reading strings from the keyboard as soon as the entered string does not match one of the allowed strings ("user", "loser", "coder", "programmer").Does not want to verify.... "The main method should stop reading strings from the keyboard as soon as the entered string does not match one of the allowed strings ("user", "loser", "coder", "programmer")."
    • 7/11/19
    • 1585views
    • 5comments
    0
  • Antonia
    Level 10
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Under discussion
    ??error??
    • 7/9/19
    • 1557views
    • 3comments
    0
  • Rainer Ricardo Rodrigues
    Level 4
    Mumbai
    Question about the task Seasons on Terra
    Java Syntax, Level 4, Lesson 4
    Under discussion
    What is wrong with my code?Everything has been verified except for the last one .
    • 7/1/19
    • 1307views
    • 1comment
    0
  • Stefan Craia
    Level 3
    Bucharest
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Under discussion
    Won't pass validation but, it workspublic class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String grandfatherName = reader.readLine(); Cat catGrandfather = new Cat(grandfatherName); String gr
    • 7/14/19
    • 1337views
    • 1comment
    0
  • Yuchen
    Level 17
    Los Angeles
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Resolved
    Please tell me why I can't get output here?Please tell me why I can't get output here?
    • 7/12/19
    • 1258views
    • 2comments
    0
  • Anand Sharma
    Level 6
    Mumbai
    Question about the task Create a Circle class
    Java Syntax, Level 5, Lesson 7
    Resolved
    I don't understand what is wrong?What is wrong in this code ? I Don't understand ?
    • 7/12/19
    • 1926views
    • 1comment
    0
  • Raisa Toscano
    Level 27
    Tepic
    Question about the task Only for the rich
    Java Syntax, Level 8, Lesson 8
    Resolved
    what's wrong here? public static void removeItemFromMap(HashMap map) { HashMap m= new HashMap<>(map); //write your code here Iterator>I= m.entrySet().iterator(); while(I.hasNext()) { int value=I.next().getValue(); if(value<500) I.remov
    • 1/3/19
    • 2351views
    • 3comments
    0
  • Bill Wu
    Level 29
    Wellington
    Question about the task Chat (part 10)
    Java Multithreading, Level 6, Lesson 15
    Resolved
    why the last requirement not met?I used the if else to make sure that if the type is not TEXT, an error is displayed.
    • 4/29/19
    • 1546views
    • 2comments
    0
  • Alison
    Level 9
    Madison
    Question about the task Five winners
    Java Syntax, Level 8, Lesson 11
    Under discussion
    What's wrong?Where am I going wrong?
    • 7/13/19
    • 1395views
    • 1comment
    0
  • Mikayla Pace
    Level 27
    Salt Lake City
    Question about the task Vowels and consonants
    Java Syntax, Level 9, Lesson 11
    Under discussion
    Getting the correct output, not validating. The program works. I get the correct output in Intellij IDEA. Every condition fails. Why is it not validating?
    • 7/13/19
    • 1166views
    • 1comment
    0
  • Nnaemeka
    Level 8
    Lagos
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Under discussion
    Help I cannot resolve thisAll but the first two conditions have not been met, what could be the problem?
    • 7/13/19
    • 1341views
    • 3comments
    0
  • Benjamin Winchester
    Level 17
    Savannah
    Question about the task Sorting even numbers from a file
    Java Core, Level 3, Lesson 11
    Archived
    Help pleaseNot sure what Im doing wrong. I think Im not reading in the list correctly. Ignore the test tab, I created that in IntelliJ to try to test it.
    • 11/28/18
    • 1941views
    • 5comments
    1
  • Kunal Kushwaha
    Level 2
    Mumbai
    Question about the task Pets need people
    Java Syntax, Level 2, Lesson 5
    Under discussion
    I didn't understand what they wants to sayNeed help
    • 6/10/19
    • 1428views
    • 1comment
    0
  • karina abad
    Level 11
    Daly City
    Question about the task Improving functionality
    Java Syntax, Level 5, Lesson 12
    Under discussion
    How can I improve my code? I need help understanding how to efficiently do min/max with swaps package com.codegym.task.task05.task0531; import java.io.BufferedReader; import java.io.InputStreamReader; /* Improving functionality */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReade
    • 7/11/19
    • 1706views
    • 2comments
    0
  • Jay
    Level 17
    Washington
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    Can't figure this outI changed my code several times after reading discussions but I'm still stuck. How do I solve this problem!!???
    • 7/12/19
    • 1127views
    • 4comments
    0
  • Nitin raj
    Level 12
    Mumbai
    Question about the task To the top of the list
    Java Syntax, Level 7, Lesson 6
    Under discussion
    Kindly please someone explain the 2nd requirementHelp me guyzzzzz
    • 7/11/19
    • 1548views
    • 2comments
    0
  • 1
  • ...
  • 300
  • 301
  • 302
  • 303
  • 304
  • ...
  • 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