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
  • Chris
    Level 19
    Newark
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    Help me I can't figure it out and I am getting so frustrated. What am I doing wrong?
    • 7/6/20
    • 692views
    • 4comments
    0
  • Disha patil
    Level 2
    Maharashtra
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Resolved
    what's my mistake ??please explain it ..
    • 7/22/20
    • 833views
    • 3comments
    0
  • Nana
    Level 7
    Chicago
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    Hello I am not seeing where my error is My code meets each condition but it is still failing. Please help thank you
    • 7/22/20
    • 962views
    • 1comment
    0
  • Hendy Prasetyo
    Level 0
    Question about the task Snake game (Part 3/20)
    Games, Level 0, Lesson 1
    Resolved
    Help!Can anyone help me what it is mean?
    • 5/20/20
    • 782views
    • 4comments
    0
  • Yuvavimal
    Level 12
    coimbatore
    Question about the task StringHelper class
    Java Syntax, Level 6, Lesson 8
    Resolved
    why last two requirement pass?package com.codegym.task.task06.task0611; /* StringHelper class */ public class StringHelper { public static String multiply(String s) { String result =""; //write your code here for (int i = 0; i < 5; i++) { result = s; // System.out.println(
    • 7/22/20
    • 659views
    • 1comment
    0
  • Fabian Andiel
    Level 9
    Vienna
    Question about the task Reading a file
    Java Core, Level 3, Lesson 11
    Archived
    Returns too few linesHi guys, can you help me I get the error message "returns too few lines". What is wrong here? greetings Fabian
    • 7/22/20
    • 497views
    • 3comments
    0
  • hidden #10362262
    Level 9
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Under discussion
    The verify is telling me that I am not getting the correct variables and outputNot sure what's happening, but can anyone proofread my code. Trying to see what I am doing wrong. Thank you!
    • 12/2/18
    • 1737views
    • 4comments
    0
  • vamsi mokari
    Level 13
    Hyderabad
    Question about the task Man and woman
    Java Syntax, Level 5, Lesson 12
    Under discussion
    What's wrong here I created two objects both typesWhat's wrong here I created two objects both types
    • 7/22/20
    • 615views
    • 2comments
    0
  • Rebekah H
    Level 8
    Gothenburg
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Under discussion
    Gives correct output but does not compile?Could someone have a look at what is wrong with my code please? :)
    • 7/14/20
    • 729views
    • 3comments
    0
  • hidden #10538281
    Level 10
    Question about the task Cat and Dog objects: 50,000 each
    Java Syntax, Level 6, Lesson 5
    Under discussion
    I think it should be working...I get a compiler error saying "error: variable declaration not allowed here". I don't understand why... Thank you for your help!
    • 2/9/20
    • 1391views
    • 2comments
    0
  • Dyrits
    Level 1
    Question about the task Logging stack traces
    Java Syntax, Level 9, Lesson 2
    Resolved
    What's wrong?I have the correct output.
    • 7/22/20
    • 752views
    • 1comment
    0
  • ishu
    Level 6
    Maharashtra
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    got tired by trying itwhat should I change?
    • 7/20/20
    • 873views
    • 4comments
    0
  • ishu
    Level 6
    Maharashtra
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    MismatchException?I didn't get y?
    • 7/18/20
    • 856views
    • 4comments
    0
  • hidden #10645646
    Level 16
    Question about the task Task about algorithms
    Java Syntax, Level 8, Lesson 11
    Under discussion
    program works but validator is wrong.My program works, but the validator won't accept it. I've tried it with randomly capitalizing characters in words, having words with all caps, having words with no caps, it returns a completely alphabetical list but I'm not passing the hidden "mystery condition" - which I'm really getting sick of th
    • 7/21/20
    • 592views
    • 1comment
    0
  • Mankin Lee
    Level 9
    Manchester
    Question about the task Kind Emma and the summer holidays
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Been stuck for three days....My aim is to iterate through the values (Date objects) of the hashmap, convert them into Strings, then remove any that contain the three months. Please help.
    • 7/20/20
    • 540views
    • 6comments
    0
  • A.V.
    Level 2
    Vegeta
    Question about the task Distance between two points
    Java Syntax, Level 6, Lesson 8
    Under discussion
    Where about am I getting the mistake...Where about am I getting the mistake...
    • 5/4/20
    • 1091views
    • 2comments
    0
  • Artur Jarosz
    Level 30
    Lublin
    Question about the task Make a word chain
    Java Multithreading, Level 2, Lesson 9
    Resolved
    Can't pass last requirement.Hi all, I can't pass last requirement here. The result is OK and looks like in the example. I was even drawing trees with all possibilities and following them with debugging to check if all works fine and it does. Can somebody help me out here? I would appreciate it!
    • 1/26/20
    • 1557views
    • 2comments
    1
  • Angus McDonald
    Level 5
    Sydney
    Question about the task Build a WHERE query
    Java Multithreading, Level 2, Lesson 9
    Resolved
    I feel like I'm SO close..Excuse the commented sections.. for testing purposes. My gut tells me the problem could be one or many of the below: 1. Map loops spit out results that don't match the name first structure in the instructions 2. I'm not testing for the null values correctly.. 3. I'm not deleting the last characters
    • 7/7/20
    • 1229views
    • 5comments
    1
  • Denis
    Level 22
    Kharkiv
    Question about the task Implement the printMainInfo method
    Java Core, Level 4, Lesson 8
    Under discussion
    What i must be changed?help pls
    • 6/26/19
    • 1403views
    • 4comments
    0
  • Angeget
    Level 22
    Potsdam
    Question about the task Software update
    Java Syntax, Level 8, Lesson 11
    Resolved
    No idea why the last requirement is not satisfied. Need help pleaseNo idea why the last requirement is not satisfied. Need help please
    • 1/12/19
    • 2183views
    • 6comments
    2
  • WatWat
    Level 9
    Vancouver
    Question about the task Three numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    Tested in Repl but wont passWhat is wrong with my code... It works :\ EDIT: Resolved on my own. Apparently we're living in an alternate universe where indices aren't 0 based. import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedRea
    • 10/8/18
    • 2529views
    • 5comments
    1
  • Marek Pasierbek
    Level 9
    Poznań
    Question about the task Catching unchecked exceptions
    Java Syntax, Level 9, Lesson 8
    Under discussion
    Why I can't understand it?Theme try/catch/exceptions is not dificoult so why I can't understand what I should to do in this task? My code is OK but not acceptable. I should catch all exceptions without Null, Index and Number?
    • 7/21/20
    • 888views
    • 4comments
    0
  • Maxine Hammett
    Level 19
    San Diego
    Question about the task Let's make the code do something useful!
    Java Syntax, Level 9, Lesson 11
    Under discussion
    So LostI'm just not getting this task assignment. It's not passing verification on the copy tasks. Your help is appreciated.
    • 7/21/20
    • 452views
    • 1comment
    0
  • Ian De Bie
    Level 28
    Austin
    Question about the task Snake (Part 17/20)
    Games, Level 0, Lesson 1
    Resolved
    Why isn't my SnakeGame onKeyPress() method passing?The failing message is: The onKeyPress(Key) method must call the createGame() method if the passed argument is Key.SPACE and the game is stopped (isGameStopped == true). Recommendation from mentor is: Be sure that the onKeyPress(Key) method does not call the createGame() method if the key pressed w
    • 7/21/20
    • 527views
    • 1comment
    0
  • Rebekah H
    Level 8
    Gothenburg
    Question about the task Calculator
    Java Syntax, Level 6, Lesson 8
    Resolved
    is this int to double conversion not correct?It runs fine but it does not accepted this solution. Is the division done before the conversion or why do I not pass? public static double divide(int a, int b) { //write your code here double div=a/b; return div;
    • 7/21/20
    • 607views
    • 2comments
    0
  • Brad Reed
    Level 19
    Hartford
    Question about the task Bridges
    Java Core, Level 4, Lesson 8
    Resolved
    not sure how it wants me to fix that...the failure is because the println method doesn't have a public access modifier, which is clearly there. help??
    • 7/20/20
    • 597views
    • 6comments
    0
  • Maxine Hammett
    Level 19
    San Diego
    Question about the task What's today's date?
    Java Syntax, Level 9, Lesson 11
    Under discussion
    Output is alwasy JanuaryI'm not sure what's wrong with my code. When I run it the output is always set to January regardless of what input date is entered. Your help is appreciated.
    • 7/21/20
    • 605views
    • 3comments
    0
  • hidden #10625598
    Level 23
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Under discussion
    can somebody tell me my mistake?
    • 7/21/20
    • 524views
    • 3comments
    0
  • andy 6473
    Level 9
    Bangalore
    Question about the task Setting the number of cats
    Java Syntax, Level 4, Lesson 2
    Under discussion
    Kindly let me know how code 1 is diferent from code 2code 1) public class Cat { private static int catCount = 0; public static void setCatCount(int catCount) { //write your code here } public static void main(String[] args) { } } code 2) public class Cat { private static int catCount = 0; public void setCatCoun
    • 3/19/20
    • 1456views
    • 2comments
    1
  • fifi deng
    Level 22
    Paris
    Question about the task Symbol frequency
    Java Core, Level 8, Lesson 11
    Under discussion
    help, using casting type methodsoutput is right,but not verfying
    • 7/19/20
    • 607views
    • 10comments
    0
  • 1
  • ...
  • 166
  • 167
  • 168
  • 169
  • 170
  • ...
  • 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