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
  • Mathis Longino
    Level 16
    Hanover
    Question about the task Exception invasion
    Java Core, Level 4, Lesson 8
    Resolved
    CodeGym security exception. You are performing a forbidden or potentially dangerous operation.Hey girls and guys, I can't find the problem here. There are 10 exceptions in my list. According to the recommendation (in the title) I seem to invoke an unhealthy exception. Does anybody know which it could be? best regards Mathis
    • 02.01.2020
    • 1740views
    • 1comment
    5
  • raulGLD
    Level 8
    Cluj-Napoca
    Question about the task Triangle of eights
    Java Syntax, Level 4, Lesson 13
    Resolved
    Why is it not ok like this?So my solution was this: int m = 10; for(int i = 0; i <= m; i++) { for(int j = 0; j < i; j++) { System.out.print(8); } System.out.println(); } which prints exactly like the requested output, but won't work so I copied this so
    • 19.10.2020
    • 507views
    • 6comments
    0
  • Noob_Coder
    Level 22
    Springfield
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Under discussion
    no idea where's this wrongConfused how this code is wrong,looks good.
    • 21.10.2020
    • 523views
    • 1comment
    0
  • hidden #10674546
    Level 5
    Question about the task Positive number
    Java Syntax, Level 4, Lesson 7
    Under discussion
    I dono what is the problem in my code I tried all ways to slove it.I was not able to resolve the 3rd and 5th requirement in my code 1. display the number of positive numbers and 2. 0 is neither negative or positive
    • 20.10.2020
    • 544views
    • 1comment
    0
  • hidden #10639305
    Level 7
    Question about the task Snake (Part 2/20)
    Games, Level 0, Lesson 1
    Under discussion
    What's wrong with this??? I don't understand(( help me, pleasepackage com.codegym.games.snake; import com.codegym.engine.cell.*; public class SnakeGame extends Game { public static final int WIDTH = 15; public static final int HEIGHT = 15; public void initialize(){ setScreenSize(WIDTH,HEIGHT); createGame(); } public
    • 09.07.2020
    • 591views
    • 2comments
    0
  • David Haines
    Level 13
    La Crosse
    Question about the task 2048 (Part 15/18)
    Games, Level 0, Lesson 2
    Resolved
    Fourth task is failing. Can somebody please explain why?Final task is failing with the following error: The onKeyPress(Key) method must call the gameOver() method and do nothing else, if the canUserMove() method returns false. Recommendation from your mentor: Be sure that the gameOver() method is called if the canUserMove() method returns false.
    • 20.10.2020
    • 374views
    • 2comments
    0
  • Seferi
    Level 22
    Question about the task Prices
    Java Core, Level 8, Lesson 11
    Resolved
    Help is appreciatedI did a few tests and it seems to be working fine but it fails one of the tests..
    • 19.10.2020
    • 533views
    • 8comments
    0
  • Michał
    Level 41
    Krakow
    Question about the task A switch for threads
    Java Multithreading, Level 5, Lesson 5
    Under discussion
    What should I do here?I totally don't understand why this solution is wrong. What does the 5th requirement mean if not what I've already done? I'm out of ideas. I'd appreciate your help.
    • 17.10.2020
    • 545views
    • 4comments
    0
  • Liliane Top
    Level 17
    Amsterdam
    Question about the task Snake (Part 18/20)
    Games, Level 0, Lesson 1
    Resolved
    reposting same questionTried and copied and tried but no idea what is actually requested. Where do I go wrong in my thinking?
    • 01.03.2020
    • 1088views
    • 2comments
    0
  • Sandy
    Level 0
    Question about the task Space Invaders (Part 4/34)
    Games, Level 0, Lesson 6
    Under discussion
    Help!Can someone help me with this requirement? In the drawField(Game) method, call the draw(Game) method on each object in the stars list. Pass "this" to the method. I don't understand what i have to do.
    • 20.10.2020
    • 389views
    • 2comments
    0
  • Timothy Chan
    Level 11
    Hong Kong
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Resolved
    Can't meet the fifth requirementOutput is correct but can't meet the fifth requirement. Please help. Thanks.
    • 19.10.2020
    • 490views
    • 4comments
    0
  • Anitamalina
    Level 18
    København
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    comma input vs period inputHm.. I can't make my code work with the input of "2.5", but it works for "2,5" - do you use the wrong data type for my scanner? I have tried float and long also.. what else can I do?
    • 20.10.2020
    • 611views
    • 1comment
    0
  • Noob_Coder
    Level 22
    Springfield
    Question about the task Improving functionality
    Java Syntax, Level 5, Lesson 12
    Under discussion
    I don't understand why we should try to dothis question here,if people are not familar with recursion,they have a hard time to do this for sure XD.public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int a = Integer.parseInt(reader.readLine()); int b = Integer.parseInt(reader.readLine()); int c = Integ
    • 19.10.2020
    • 429views
    • 2comments
    0
  • Weldon Patterson
    Level 13
    Roswell
    Question about the task The isomorphs are coming
    Java Core, Level 2, Lesson 12
    Under discussion
    What is the validation looking for?The task fails this requirement: The getMinimumAndIndex() method must return the minimum of the array and its position (index). The code is returning the correct values.
    • 19.10.2020
    • 691views
    • 5comments
    0
  • Manish Sinha
    Level 1
    london
    Question about the task Inner
    Java Multithreading, Level 3, Lesson 4
    Resolved
    not sure, what their requirement is.pls. help. thank you
    • 19.10.2020
    • 447views
    • 2comments
    0
  • Alexandre Lalancette
    Level 41
    Quebec
    Question about the task What is ClassLoader?
    Java Collections, Level 5, Lesson 10
    Under discussion
    I'm a little lost here! Can someone give me a hint?I'm a little lost here! Can someone give me a hint?
    • 08.02.2020
    • 1163views
    • 1comment
    2
  • Anitamalina
    Level 18
    København
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Resolved
    what is wrong?I get the right output.. ?
    • 18.10.2020
    • 562views
    • 2comments
    0
  • Erextor
    Level 9
    Moscow
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Under discussion
    what's wrong in my code, I don't understsndpackage com.codegym.task.task04.task0415;
    • 19.10.2020
    • 412views
    • 2comments
    0
  • Timothy Chan
    Level 11
    Hong Kong
    Question about the task Streets and houses
    Java Syntax, Level 7, Lesson 4
    Archived
    Can't make the 3rd and 4th requirements Not sure what do I do wrong. Thanks in advance!!
    • 19.10.2020
    • 522views
    • 4comments
    0
  • Abhimanyu Yadav
    Level 3
    u can't c me
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Resolved
    The main method wasn't assigned the string valueI didn't understand when did we defined main value as equal to String S.
    • 17.10.2020
    • 669views
    • 3comments
    0
  • AlfredW
    Level 23
    Denver
    Question about the task Even characters
    Java Core, Level 9, Lesson 5
    Under discussion
    What are they asking for? ACSII numbers do not match with their output example.I don't get what they are asking for here. It makes no sense. An ordinal number is a positional number. ACSII numbers are not really positional, but if that is what we are looking at none of the results they give make any sense.
    • 17.10.2020
    • 664views
    • 7comments
    0
  • Hashirama
    Level 26
    Port-Harcourt
    Question about the task Arkanoid (part 8)
    Java Multithreading, Level 3, Lesson 13
    Under discussion
    How do i write the intersects method??
    • 29.07.2019
    • 2547views
    • 12comments
    0
  • Prashant Vishwakarma
    Level 12
    Mumbai
    Question about the task Catching custom exceptions
    Java Syntax, Level 9, Lesson 8
    Under discussion
    I don't understandcatch block in main method
    • 19.10.2020
    • 543views
    • 1comment
    0
  • Alban
    Level 14
    Kukes
    Question about the task Climb, fly, and run
    Java Core, Level 2, Lesson 12
    Under discussion
    Why wrong ?Please help !!!
    • 19.10.2020
    • 612views
    • 1comment
    0
  • Abhimanyu Yadav
    Level 3
    u can't c me
    Question about the task Escaping characters
    Java Syntax, Level 3, Lesson 6
    Under discussion
    unable to figure out why my double quote is missingunable to figure out why my double quote is missing
    • 19.10.2020
    • 601views
    • 1comment
    0
  • Chris
    Level 19
    Newark
    Question about the task Changing functionality
    Java Syntax, Level 7, Lesson 12
    Resolved
    Hey guys I almost got this one.It prints out the way the example is shown but then the program terminates. How do I get it to not terminate? I'm not sure if that's part of the task because it doesn't specify but everything seems fine when I run it.
    • 08.10.2020
    • 629views
    • 5comments
    0
  • Laurap5
    Level 9
    Vilnius
    Question about the task Fixing the mistakes of youth
    Java Syntax, Level 6, Lesson 11
    Under discussion
    Please helpI am receiving the correct answer, but the system does not accept it.:(
    • 28.11.2018
    • 1936views
    • 13comments
    0
  • hidden #10424566
    Level 7
    Question about the task Somehow average
    Java Syntax, Level 4, Lesson 16
    Under discussion
    AM STUCKMy head just can't help to think more that this.
    • 07.02.2019
    • 1780views
    • 19comments
    0
  • shis1011
    Level 8
    Question about the task To the top of the list
    Java Syntax, Level 7, Lesson 6
    Under discussion
    i have a question!!can anybody explain me please why the final output is coming in a reverse order??
    • 18.10.2020
    • 382views
    • 2comments
    0
  • sergio
    Level 7
    Colorado
    Question about the task Boss, something weird is happening
    Java Syntax, Level 5, Lesson 12
    Resolved
    please helpI cannot get the last condition to pass.
    • 18.10.2020
    • 562views
    • 3comments
    0
  • 1
  • ...
  • 122
  • 123
  • 124
  • 125
  • 126
  • ...
  • 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