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
  • Divakar Reddy
    Level 15
    Nandyal
    Question about the task Static modifiers: part 1
    Java Core, Level 5, Lesson 9
    Under discussion
    can anyone tell me where i commited mistakehelp me with this
    • 10.08.2019
    • 1184views
    • 1comment
    0
  • KARAN BHOITE
    Level 15
    Nagpur
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Under discussion
    please..please give me ans ???
    • 08.08.2019
    • 1856views
    • 7comments
    0
  • abhijith arjun
    Level 12
    DeKalb
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Under discussion
    private Cat mother; private Cat father; can anyone explain these two lines. although i solved this problem. i have a bit confusion.public 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 gra
    • 09.08.2019
    • 1085views
    • 1comment
    1
  • KARAN BHOITE
    Level 15
    Nagpur
    Question about the task Census
    Java Syntax, Level 8, Lesson 8
    Under discussion
    please help.what happend i dont know
    • 10.08.2019
    • 1191views
    • 1comment
    0
  • Jacqueline Lim
    Level 9
    Makati
    Question about the task In the blue depths of the stack trace…
    Java Syntax, Level 9, Lesson 2
    Under discussion
    Why?How can I fulfill the 2nd requirement? Is there any problem with my code?
    • 13.11.2018
    • 1731views
    • 4comments
    1
  • hidden #10361881
    Level 19
    Question about the task Stack trace with 10 calls
    Java Syntax, Level 9, Lesson 2
    Resolved
    closing the circleAm I getting error because method10 is not calling another method? How do I close the circle?
    • 27.03.2019
    • 1649views
    • 4comments
    1
  • Cristian
    Level 16
    Bucharest
    Question about the task Somehow average
    Java Syntax, Level 4, Lesson 16
    Under discussion
    What is wrong in my code?package com.codegym.task.task04.task0441; /* Somehow average */ import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner scanner = new Scanner(System.in); System.out.println("Enter the three numbers: "); int
    • 09.08.2019
    • 1299views
    • 4comments
    0
  • MICHAEL DUNLAP
    Level 20
    Bellevue
    Question about the task Task about algorithms
    Java Syntax, Level 9, Lesson 11
    Under discussion
    What case is causing this to fail?I know my solution is a little convoluted, but I'm failing the requirement of words in ascending order, even though this solution works for all the cases I've tried and I am calling the isGreater method. Any nuggets of wisdom?
    • 08.08.2019
    • 1538views
    • 3comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Pharmacy
    Java Core, Level 7, Lesson 10
    Archived
    help me plsfour condition
    • 28.06.2019
    • 1734views
    • 1comment
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Exceptions. Just exceptions.
    Java Syntax, Level 9, Lesson 8
    Under discussion
    give me the solution plshelp me pllsssssss
    • 20.06.2019
    • 1397views
    • 2comments
    0
  • David
    Level 14
    New York City
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    Program runs correct output for all test cases but is somehow failing 3 and 4. Detailed verification doesn't explain how it's failing. All test cases should pass. I've noticed sometimes their verification fails if you write the code in a certain format. Not sure what else to say as I'm getting the right answers when running the program no matter what I put in.
    • 23.01.2019
    • 1762views
    • 2comments
    0
  • Zubin Nair
    Level 7
    New Delhi
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    3 requirement problem3 requirement is not satisfied?? What is the problem in this code?? Pls reply asap
    • 27.09.2018
    • 1886views
    • 5comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Fix four mistakes
    Java Core, Level 4, Lesson 8
    Under discussion
    give me solution plshelp pls
    • 25.06.2019
    • 1311views
    • 3comments
    0
  • Monisha
    Level 19
    Hyderabad
    Question about the task Zombie cats, zombie dogs
    Java Syntax, Level 6, Lesson 5
    Resolved
    m getting task requirements not met whereas all conditions are met.please help public class Cat { public static void main(String[] args) { } protected void finalize() throws Throwable { System.out.println("A Cat was destroyed"); }// cat } class Dog { protected void finalize() throws Throwable { System.out.println(""); } }
    • 05.08.2019
    • 1838views
    • 3comments
    0
  • Ada
    Level 4
    Tirana
    Question about the task Minesweeper (Part 1/16)
    Games, Level 0, Lesson 0
    Under discussion
    What is going on? I don't know what went wrong? Is something with my code , because when I try to compile it is shows this ( the message on the screenshot)? My code : package com.codegym.games.minesweeper; import com.codegym.engine.cell.*; public class MinesweeperGame extends Game { }
    • 06.08.2019
    • 1569views
    • 1comment
    0
  • hidden #10362262
    Level 9
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Why doesn't this code Pass? The output is correct when using "Run" package com.codegym.task.task07.task0716; import java.util.ArrayList; public class Solution { /* R or L */ public static void main(String[] args) throws Exception { ArrayList list = new ArrayList(); list.add("rose"); // 0 list.add("measure"); // 1
    • 09.08.2019
    • 1209views
    • 1comment
    0
  • Mihály Dombi
    Level 12
    Szeged
    Under discussion
    How to bring back the original code in one task?Hello, It happened to me that I started to solve a task but I messed up the code (I deleted lines instead of commenting them out). So I wanted to bring back the original code but I couldn't. Is there a button for that or how can I bring back the original code if I mess up a task and I want to start
    • 06.08.2019
    • 1056views
    • 2comments
    1
  • Kotlet
    Level 28
    Wroclaw
    Question about the task Task about algorithms
    Java Syntax, Level 9, Lesson 11
    Resolved
    How does a.compareTo(b) work with numbers?How does a.compareTo(b) works when it comes to Strings with numbers? Is it comparing only first digit (their unicode value) of the number and doesn't care about the rest (ie. not summing unicode value of each digit)? Because using the method isGreaterThan - "22" is not greater than "3" (while obviou
    • 24.06.2019
    • 1609views
    • 1comment
    0
  • Bhavishya Samriya
    Level 8
    Jaipur
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Under discussion
    what's wrong with thisMy code isn't working for numbers greater than 127 Please Help
    • 24.07.2019
    • 1284views
    • 3comments
    0
  • Nitin raj
    Level 12
    Mumbai
    Question about the task Make a family
    Java Syntax, Level 8, Lesson 11
    Resolved
    Can anyone please explain what the conitions are saying.Actually I didn't get the question, please someone explain it in detail
    • 03.08.2019
    • 1795views
    • 1comment
    0
  • ddi
    Level 18
    Dortmund
    Question about the task All that moves
    Java Core, Level 3, Lesson 2
    Under discussion
    What am i missing?Can somebody explain it to me?
    • 08.08.2019
    • 1206views
    • 2comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Four mistakes
    Java Core, Level 3, Lesson 2
    Under discussion
    Help me with this plsI dont understand(
    • 24.06.2019
    • 1583views
    • 4comments
    0
  • Joy Majumdar
    Level 16
    Kolkata
    Question about the task GCD
    Java Core, Level 4, Lesson 8
    Under discussion
    Please helpWhere is the bug ?
    • 30.07.2019
    • 954views
    • 1comment
    0
  • Manish
    Level 0
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    what is logic behind gameField[y][x]=new GameObject(x,y);package com.codegym.games.minesweeper; import com.codegym.engine.cell.*; public class MinesweeperGame extends Game{ private static final int SIDE=9; private GameObject gameField[][]=new GameObject[SIDE][SIDE]; public void initialize(){ setScreenSize(SIDE,SIDE); createGam
    • 07.08.2019
    • 1355views
    • 1comment
    0
  • Cristian
    Level 16
    Bucharest
    Question about the task You can't have too much of a good thing
    Java Syntax, Level 4, Lesson 10
    Archived
    What's wrong with my code?package com.codegym.task.task04.task0432; /* You can't have too much of a good thing */ import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { int N; String s; Scanner console = new Scanner(System.in);
    • 07.08.2019
    • 1501views
    • 2comments
    0
  • satish
    Level 15
    kadapa
    Question about the task Buggy initializeIdAndName
    Java Core, Level 3, Lesson 2
    Under discussion
    what should we want to returnhow that user return and what is the use of it
    • 06.06.2019
    • 1205views
    • 2comments
    0
  • Jegadish chandran
    Level 3
    Mumbai
    Question about the task Crazy eights
    Java Syntax, Level 2, Lesson 5
    Under discussion
    doesn't executeanybody help me to solve this!
    • 25.06.2019
    • 1200views
    • 3comments
    0
  • Anusha Govindarajan
    Level 7
    Amsterdam
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Under discussion
    The code works but requirements are not satisfied about writing to even and odd.Can some one help?The code works but requirements are not satisfied about writing to even and odd.Can some one help?
    • 06.08.2019
    • 1130views
    • 3comments
    0
  • Jason
    Level 26
    Rancho Cucamonga
    Question about the task Catching unchecked exceptions
    Java Syntax, Level 9, Lesson 8
    Under discussion
    not even getting this to compile and I am completely lost.I thought I understood what was being asked of me but apparently, I haven't a clue. I don't even know where to begin asking questions. I'm sorry for the vagueness and I hope there is somewhere someone can start with helping me solve this. Thanks in advance! package com.codegym.task.task09.task0917
    • 17.07.2019
    • 1760views
    • 9comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Beer. Part 2. The recovery.
    Java Core, Level 3, Lesson 2
    Under discussion
    Last condition. Pls help.What i must do?
    • 23.06.2019
    • 1128views
    • 2comments
    0
  • 1
  • ...
  • 289
  • 290
  • 291
  • 292
  • 293
  • ...
  • 371
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