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
  • Akash sah
    Level 8
    Kathmandu
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    what is wrong with this code?i dont think there is any wrong bt it fail to pass testing.
    • 07.02.2019
    • 1518views
    • 3comments
    0
  • Ian Rafferty
    Level 13
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Under discussion
    says I'm not storing the count in even or odd variables or matching the output conditionsI have used reader.read(int) as this is the only way I can get it to read each digit not the whole line and give the correct odd and even count. I can't get String.length() to work at all either. Any tips would be appreciated 😁
    • 04.06.2020
    • 720views
    • 4comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task In the blue depths of the stack trace…
    Java Syntax, Level 9, Lesson 2
    Resolved
    HELP ME PLSSSSGive me the solution for my understanding
    • 20.06.2019
    • 1424views
    • 3comments
    0
  • Steve
    Level 6
    Hartford
    Question about the task StringHelper class
    Java Syntax, Level 6, Lesson 8
    Under discussion
    Last 2 conditions not met but when i test it my output seems to work
    • 03.06.2020
    • 547views
    • 1comment
    0
  • Catherine
    Level 23
    London
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    else if without if errorI keep getting an else without if error, but I clearly have an if. Why is this happening?
    • 07.05.2020
    • 1143views
    • 4comments
    0
  • Felix
    Level 1
    Center Moriches
    Question about the task Feline carnage
    Java Syntax, Level 5, Lesson 5
    Under discussion
    why are my solutions coming out like this?I completed the task and got all the checks green. But why are my solutions in this format? Solution$Cat@15db9742 Solution$Cat@6d06d69c Solution$Cat@7852e922
    • 03.06.2020
    • 422views
    • 2comments
    0
  • Sam
    Level 13
    ELIZABETH
    Question about the task Number of letters
    Java Syntax, Level 10, Lesson 11
    Resolved
    Not sure what to do... a little hint will help package com.codegym.task.task10.task1012; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; /* Number of letters */ public class Solution { public static void main(String[] args) throws Exception {
    • 03.06.2020
    • 560views
    • 2comments
    0
  • Marek Pasierbek
    Level 9
    Poznań
    Question about the task Minesweeper (Part 4/16)
    Games, Level 0, Lesson 0
    Under discussion
    Program is ready CodeGym validation is not okProgram do all steps, but validation is not sucessfull package com.codegym.games.minesweeper; import com.codegym.engine.cell.*; public class MinesweeperGame extends Game { private static final int SIDE = 9; public void initialize() { setScreenSize(SIDE, SIDE); createGame()
    • 02.06.2020
    • 869views
    • 5comments
    0
  • Bradley White
    Level 1
    Memphis
    Question about the task Minesweeper (Part 1/16)
    Games, Level 0, Lesson 0
    Under discussion
    is this rightpackage com.codegym.games.minesweeper; import com.codegym.engine.cell.*; public class MinesweeperGame extends Game { public class Game { } }
    • 16.08.2019
    • 1761views
    • 4comments
    0
  • Abhijeet
    Level 28
    Mumbai
    Question about the task AmigoSet (part 5)
    Java Collections, Level 4, Lesson 15
    Under discussion
    what's wrong with this code. cant get the last condition. what's wrong with this code. cant get the last condition.
    • 01.06.2020
    • 437views
    • 1comment
    0
  • Carlos Cortázar
    Level 17
    Madrid
    Question about the task GCD
    Java Core, Level 4, Lesson 8
    Under discussion
    I change the code bull still not runsthe program runs well but doesn't pass verification "If the entered lines can't be converted to positive integers, throw an exception."
    • 22.01.2020
    • 1266views
    • 7comments
    0
  • Leonard Basag
    Level 7
    Iasi
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Not workingThe code seems fine but it's not passing the test
    • 03.06.2020
    • 604views
    • 1comment
    0
  • Koliber101
    Level 22
    Szczecin
    Question about the task Transactionality
    Java Core, Level 7, Lesson 10
    Resolved
    Why my joindata doesn't remove lines??s
    • 01.06.2020
    • 554views
    • 2comments
    0
  • Marek Pasierbek
    Level 9
    Poznań
    Question about the task Roy G. Biv…
    Java Syntax, Level 3, Lesson 6
    Under discussion
    Good code - not good verificationI did this task, but CodeGym still doesn't accept it - problem with colors order. Why? package com.codegym.task.task03.task0315; /* Roy G. Biv… */ public class Solution { public static void main(String[] args) { //Solution solution = new Solution(); Solution.Red red = new Sol
    • 03.06.2020
    • 814views
    • 2comments
    0
  • Alexey
    Level 7
    Chernihiv
    Question about the task StringHelper class
    Java Syntax, Level 6, Lesson 8
    Under discussion
    Why my code is not valid?In Idea it works. Thanks for answer.
    • 15.03.2019
    • 1450views
    • 5comments
    0
  • Grigore Turcan
    Level 9
    Chisinau
    Question about the task StringHelper class
    Java Syntax, Level 6, Lesson 8
    Under discussion
    Please help, what problem could bein IDE result is ok, but here do not pass
    • 15.11.2018
    • 1962views
    • 4comments
    0
  • Henry
    Level 6
    Stuttgart
    Question about the task Getters and setters for the Dog class
    Java Syntax, Level 5, Lesson 5
    Under discussion
    hiI would appreciate if someone could help figure out where I am making a mistake.Thanks.
    • 15.05.2020
    • 646views
    • 3comments
    0
  • Arun
    Level 17
    Tirupati
    Question about the task Getters and setters for the Dog class
    Java Syntax, Level 5, Lesson 5
    Under discussion
    Giving Error of Identifier expected.where is the wrong in my code...anyone can clarify it
    • 09.02.2020
    • 1210views
    • 2comments
    0
  • dhanush
    Level 30
    Chennai
    Question about the task StringHelper class
    Java Syntax, Level 6, Lesson 8
    Resolved
    helplast two requirements not satisfied :(
    • 03.06.2020
    • 440views
    • 2comments
    0
  • Pedros Balandinos
    Level 6
    lusaka
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Under discussion
    conditions failOnly the Cat class proceeds with tick and the rest of the task conditions fail. code works fine with cat1 fighting cat2 results returns true and so on with fight boolean statment..my question is how do i modify this code to suit the task?
    • 31.05.2020
    • 439views
    • 1comment
    0
  • Angus McDonald
    Level 5
    Sydney
    Question about the task Different methods for different types
    Java Core, Level 5, Lesson 12
    Resolved
    The Integer won't parse correctly? Looks completely fine by my eyes.. any ideas?
    • 03.06.2020
    • 551views
    • 1comment
    0
  • James Kelly
    Level 31
    Point Pleasant
    Question about the task CRUD
    Java Core, Level 7, Lesson 10
    Under discussion
    How do u get the compiler to recognize arg[0] I add the -c Washington m "04 15 1990" to the arguments in configurations and the compiler won't recognize the arg
    • 30.05.2020
    • 485views
    • 1comment
    0
  • dhanush
    Level 30
    Chennai
    Question about the task Static cats
    Java Syntax, Level 6, Lesson 11
    Resolved
    helpI didn't understand this program pls explain and 3&4 requirements are not satisfied
    • 02.06.2020
    • 881views
    • 2comments
    0
  • Steve
    Level 6
    Hartford
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Resolved
    not sure why last condition fails, everything works fine
    • 02.06.2020
    • 789views
    • 3comments
    0
  • Shreyash Arondekar
    Level 14
    Gurgaon
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Under discussion
    please help me with this
    • 19.08.2018
    • 1483views
    • 4comments
    0
  • Laurence
    Level 10
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Under discussion
    Rebuilt this a couple of times but I can't seem to satisfy the last condition. Any help would be appreciated.It outputs the max with positives and negatives. I've ran it through another compiler with N = 0 and N= negative, it returns nothing. I can't figure it out.
    • 18.05.2020
    • 727views
    • 7comments
    0
  • Jonathan
    Level 9
    Wakiso
    Question about the task Bouncer policy
    Java Syntax, Level 4, Lesson 6
    Resolved
    Can't see issueLast requirement is not fulfilled even when I remove the command on the 'else if'
    • 31.05.2020
    • 865views
    • 2comments
    0
  • hidden #10444738
    Level 16
    Question about the task Food
    Java Core, Level 4, Lesson 4
    Under discussion
    Not sure what the problem is.if I put onEat, it says I need onSelect. if I put onSelect, it says I need onEat ????
    • 02.10.2019
    • 1221views
    • 5comments
    0
  • Aice
    Level 2
    Axim
    Question about the task Where does a Person come from?
    Java Syntax, Level 2, Lesson 2
    Under discussion
    I keep getting it wrong. please what is wrong with my codepublic static class Person { //write your code here String name; int age();
    • 02.06.2020
    • 488views
    • 1comment
    0
  • Stephen Haokip
    Level 8
    imphal
    Question about the task Do we have a pair?
    Java Syntax, Level 4, Lesson 4
    Under discussion
    plis help me with the fourth conditioni m pretty sure its right. but it didnt pass the testing
    • 01.06.2020
    • 517views
    • 2comments
    0
  • 1
  • ...
  • 184
  • 185
  • 186
  • 187
  • 188
  • ...
  • 372
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