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
  • Andrea
    Level 20
    Question about the task OOP: Method overloading
    Java Core, Level 5, Lesson 12
    Under discussion
    Not sure why validation is not being met Been playing around with this and just wondering why the last two requirements are still not consistently not being met even though I'm following the requirements
    • 11.10.2019
    • 1141views
    • 3comments
    0
  • Maria Habib
    Level 5
    Jhelum
    Question about the task Deep and pure love
    Java Syntax, Level 3, Lesson 8
    Under discussion
    what is the error in this?:(
    • 16.09.2018
    • 1650views
    • 7comments
    2
  • Aditya
    Level 5
    Baleshwar
    Question about the task Chain letter
    Java Syntax, Level 4, Lesson 13
    Under discussion
    Does Asimo has a crush?? This certain exercise is quite a plot to interrogate our favorite robot 🤖 😂
    • 07.01.2020
    • 886views
    • 2comments
    2
  • Saksham Joshi
    Level 4
    Ludhiana
    Question about the task The humble programmer
    Java Syntax, Level 3, Lesson 8
    Resolved
    Can anyone enlighten me what am I doing wrong here?No condition is being satisfied here.
    • 27.04.2020
    • 1103views
    • 6comments
    0
  • Lawson
    Level 29
    Lagos
    Question about the task HashMap of cats
    Java Syntax, Level 8, Lesson 3
    Resolved
    help pleaseI don't know the problem in line 46
    • 07.08.2020
    • 843views
    • 2comments
    0
  • Mysnikol Miller
    Level 7
    Lutsen
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Resolved
    I cannot solve this.I have read many of the 'resolved' posts here and nothing is making my error come to light for me. I have tried many variations. Please advise. Thank you.
    • 29.07.2020
    • 584views
    • 2comments
    0
  • Henrique
    Level 41
    São Paulo
    Question about the task Chat (part 2)
    Java Multithreading, Level 6, Lesson 15
    Resolved
    help with last two conditions pleasedon't know what's wrong
    • 07.08.2020
    • 417views
    • 3comments
    2
  • Praveen Reddy
    Level 1
    Hyderabad
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Resolved
    Please suggest: Getting the following error - You displayed a m x n rectangle, but we're looking for an n x m rectangle.import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { //write your code here Scanner scanner = new Scanner(System.in); int m = scanner.nextInt(); int n = scanner.nextInt(); for(int i=1; i<=n; i++)
    • 02.05.2020
    • 1030views
    • 2comments
    1
  • George
    Level 15
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Result is correct but verification failsThis seems to be working for all examples but verification fails. Any tips?
    • 07.08.2020
    • 706views
    • 3comments
    0
  • Husain Kothari
    Level 20
    Mumbai
    Question about the task Consecutive threads
    Java Core, Level 6, Lesson 13
    Resolved
    Cant satisfy condition 5I tried interrupting threads in the code and it does print Thread Interrupted but the code wont verify.
    • 19.07.2019
    • 1672views
    • 5comments
    3
  • Maxine Hammett
    Level 19
    San Diego
    Question about the task Beer
    Java Core, Level 3, Lesson 2
    Resolved
    Not passing taskAs far as I can tell all the interfaces methods have been accounted for. I don't understand why it's not passing verification.
    • 06.08.2020
    • 452views
    • 2comments
    0
  • Lawson
    Level 29
    Lagos
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Resolved
    pls..this question is confusing meI got everything right...pls what's my error
    • 26.07.2020
    • 447views
    • 2comments
    0
  • Yuvavimal
    Level 12
    coimbatore
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Under discussion
    output is correct but task not required?package com.codegym.task.task06.task0621; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /* Cat relations */ public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(n
    • 07.08.2020
    • 389views
    • 1comment
    0
  • hidden #10625598
    Level 23
    Question about the task Make a word chain
    Java Multithreading, Level 2, Lesson 9
    Under discussion
    what does this mean? >> (String... words)what are these dots for ? and how is my tactic to find the solution here? i try to use 2 for-loops to compare one word of the list with the next (i = 0 & j = i +1) is this approach useful, or is there a better way to do so? thanks
    • 05.08.2020
    • 809views
    • 1comment
    0
  • Sanjeevkumar
    Level 22
    Mumbai
    Question about the task Threads and bytes
    Java Core, Level 8, Lesson 11
    Resolved
    Frustrated as fuckI don't know where the issues whether it with thread or the method help me if you find tha issue
    • 06.08.2020
    • 424views
    • 3comments
    0
  • Jo88
    Level 4
    Boston
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Under discussion
    what am I doing wrong?here is my code? what am I doing wrong? I feel so dumb with all of this...am I close???
    • 15.01.2020
    • 1189views
    • 3comments
    0
  • shovan
    Level 22
    Kolkata
    Question about the task Fixing bugs
    Java Core, Level 4, Lesson 8
    Under discussion
    plss helpi cannot understand
    • 23.08.2019
    • 1580views
    • 5comments
    0
  • Bill Wu
    Level 29
    Wellington
    Question about the task The world doesn't change, we change
    Java Multithreading, Level 6, Lesson 10
    Resolved
    code not executedI tried a few times with different code, it seems that the run() of producer somehow doesn't execute to the end. The print was never shown nor map updated. So in the run() of consumer, the map.isEmpty() always true. I can't figure out why. They have different threads, but the thread for Producer's r
    • 29.04.2019
    • 1639views
    • 1comment
    1
  • Angel Stefan Arjoca
    Level 26
    Bucharest
    Question about the task One for all, all for one
    Java Core, Level 6, Lesson 10
    Resolved
    How i kill all threads??? Tk you!🤔
    • 15.07.2020
    • 746views
    • 4comments
    1
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task The world is boring for boring people
    Java Multithreading, Level 6, Lesson 10
    Resolved
    Please HelpCant Understand
    • 10.09.2019
    • 1446views
    • 3comments
    1
  • Balen Asangbeh
    Level 23
    Douala
    Question about the task No interrupt, no dice?
    Java Core, Level 6, Lesson 10
    Resolved
    please what am I missingplease what am I missing
    • 13.03.2019
    • 1813views
    • 3comments
    2
  • John
    Level 27
    Washington DC
    Question about the task A wise man thinks once before speaking twice
    Java Multithreading, Level 6, Lesson 8
    Under discussion
    I don't understand why this code worked hahaI used a synchronized block in the Solution constructor for all that logic, used a synchronized (this) in the first method and a synchronized (Solution.class) in the second method and the answer validated. What is the point of using both "this" and "Solution.class"?
    • 30.03.2020
    • 1116views
    • 2comments
    2
  • Robert
    Level 1
    Lombard
    Question about the task Counting seconds
    Java Core, Level 6, Lesson 10
    Resolved
    Sorry to Interrupt you...When I run the code it appears it is printing AFTER the interrupt. Any ideas why this is not passing validation?
    • 28.06.2019
    • 1751views
    • 2comments
    3
  • Dyrits
    Level 1
    Question about the task Moon Lander (Part 9/23)
    Games, Level 0, Lesson 4
    Resolved
    What am I doing wrong? @Override public void onKeyPress(Key key) { switch (key) { case LEFT: this.isRightPressed = false; this.isLeftPressed = true; case RIGHT: this.isLeftPressed = false; this.isRightPressed = true;
    • 06.08.2020
    • 664views
    • 4comments
    0
  • Niladri pradhan
    Level 33
    Mumbai
    Question about the task Read online about the median of a sample
    Java Multithreading, Level 6, Lesson 2
    Resolved
    last condition not verifyingError suggest to modify the programme to even number of array element
    • 05.11.2019
    • 1754views
    • 6comments
    0
  • Husain Kothari
    Level 20
    Mumbai
    Question about the task Stopwatch
    Java Core, Level 6, Lesson 7
    Resolved
    What am i doing wrong here. I tried verifying on both intellij and codegym and get the same problem.My doStep method is technically running for 1/4th of a second where speed is 4 but the 4th requirement is still not satisfied. What is the issue with my code?
    • 14.07.2019
    • 1315views
    • 3comments
    1
  • Diana Salvador
    Level 26
    Sintra
    Question about the task Introducing tags
    Java Core, Level 9, Lesson 11
    Resolved
    The output is correct but can't pass the last requirementI've tried with different inputs and it works just fine. Can someone help me? Thaaaanks!
    • 13.02.2020
    • 1120views
    • 5comments
    2
  • Geethika medidi
    Level 18
    Hyderabad
    Under discussion
    Regarding codegym plugin in IntelliJ IDEAThe plugin doesn't work no matter how many times I disabled and enabled it and restarted the IDE!!! Initially, it asked for security key but I don't remember putting it. So, I tried a few things and from then onwards whenever I try to access those 6 icons, it is showing the same error "Error while s
    • 19.07.2019
    • 2033views
    • 6comments
    2
  • Ivan
    Level 22
    Nope
    Question about the task Let's talk music
    Java Core, Level 6, Lesson 3
    Resolved
    Help from AdminsHi, My output is 1001 ms and 1002ms is the output from the example. I get this could be due to HW but it is correct :) Funny though.
    • 17.12.2019
    • 1458views
    • 4comments
    1
  • Daniel
    Level 15
    Colnbrook
    Question about the task Who's that smarty?
    Java Core, Level 3, Lesson 2
    Resolved
    What am I doing wrong?I checked and a newly created Manager object is an instance of Person and also an instance of HasManagementPotential.
    • 16.04.2020
    • 1116views
    • 4comments
    0
  • 1
  • ...
  • 154
  • 155
  • 156
  • 157
  • 158
  • ...
  • 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