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
  • Joao Lima
    Level 14
    Gdansk
    Question about the task 2048 (Part 5/18)
    Games, Level 0, Lesson 2
    Under discussion
    Can you please help me with this taskThe verification is taking for a long time and I cannot know where I have a mistake. Can you help me?
    • 2/19/20
    • 1158views
    • 1comment
    0
  • HaeWon Chung
    Level 17
    Boston
    Resolved
    How to re-verify closed task?I think I forgot some of the earlier lessons, so I'm trying to review the course and rerun the tasks - possibly using advanced code that I learnt during the course. But it seems like I cannot verify it again even after I reset the task. Is there anyway that I can re-verify my alternative solution?
    • 2/25/20
    • 983views
    • 1comment
    0
  • hidden #10589341
    Level 19
    Question about the task Setting the number of cats
    Java Syntax, Level 4, Lesson 2
    Under discussion
    plz tell me what is fault... plz help me.thanks
    • 2/22/20
    • 1098views
    • 2comments
    0
  • Abhishek Rangari
    Level 22
    Nagpur
    Question about the task Following a pattern
    Java Core, Level 6, Lesson 13
    Resolved
    can anyone help me on this ..code
    • 12/5/18
    • 2028views
    • 3comments
    0
  • Leopold Bschorr
    Level 10
    Oldenburg
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Resolved
    whats going on here, why is it not working the output seems to be correct ?...
    • 2/23/20
    • 1574views
    • 2comments
    0
  • Hasan Masum
    Level 22
    Dhaka
    Question about the task Number of letters
    Java Syntax, Level 10, Lesson 11
    Under discussion
    what's wrong here??help package com.codegym.task.task10.task1012;
    • 2/10/20
    • 1236views
    • 2comments
    0
  • Yuvavimal
    Level 12
    coimbatore
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Under discussion
    what's my mistake please tell me friends???public class Solution { public static void main(String[] args) { displayClosestToTen(8, 11); displayClosestToTen(7, 14); } public static void displayClosestToTen(int a, int b){ int c, d; c=10-a;//2 d=10-b;//1 if(c<=d)
    • 2/18/20
    • 1148views
    • 2comments
    0
  • Timothy Strickland
    Level 6
    Fairfax
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    Got this to work but this code seems to be to long, any shorter way of doing it?package com.codegym.task.task04.task0420; /* Sorting three numbers */ import java.io.*; import java.util.Arrays; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner scanner = new Scanner(System.in); int a = Inte
    • 2/18/20
    • 1200views
    • 2comments
    0
  • Alexandre Lalancette
    Level 41
    Quebec
    Question about the task CashMachine (part 8)
    Java Collections, Level 9, Lesson 15
    Under discussion
    Stuck on the 4th requirement!Are there other ways I can check if these are numbers or not in the depositCommand?
    • 2/18/20
    • 1000views
    • 1comment
    0
  • Cory Keller
    Level 4
    Sankt Johannisberg
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    int a and int b showing up as zero even though assigned.When I run the solution int a & b show up as zero even though I appear to have given them values after initial valuing of zero.
    • 2/24/20
    • 844views
    • 1comment
    0
  • Michael
    Level 10
    Dresden
    Question about the task Setting the number of cats
    Java Syntax, Level 4, Lesson 2
    Under discussion
    Code factually complies with all requirements, but validator throws error regarding task condition no. 4 (the last one)Can anyone give me a hint?
    • 9/23/19
    • 1216views
    • 3comments
    0
  • Larisa Alexa
    Level 20
    Iasi
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    I need to understand the logic for solving this problemHi everyone, If you have successfully completed this task - can you please share your solution and explain the logic you thought of? I just can't understand how to approach this task. Thank you!
    • 2/23/20
    • 976views
    • 2comments
    0
  • Elvis Lee
    Level 41
    Aurora
    Question about the task Racer (Part 5/28)
    Games, Level 0, Lesson 5
    Resolved
    Is there a bug in the Validator?Can't figure out what's wrong?
    • 2/24/20
    • 1141views
    • 2comments
    0
  • Matjes
    Level 12
    Prague
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Resolved
    Code working except if the last numbers are the ones relatedCould please someone give me a hand? My code is working but if the longest sequence is at the end when inputing the numbers, it does not work.
    • 2/23/20
    • 1039views
    • 3comments
    0
  • Anoop Negi
    Level 15
    Meerut
    Question about the task Parent of the CTO class
    Java Core, Level 2, Lesson 12
    Under discussion
    It is showing error after i remove a method in CTO classit is showing error after i remove the method workHard from CTO class how can i solve this
    • 2/7/19
    • 2180views
    • 5comments
    2
  • Fabian Andiel
    Level 9
    Vienna
    Question about the task Proposals
    Java Core, Level 7, Lesson 6
    Under discussion
    Just understandingI know the solution but can somebody explain what happends when I don`t use volatile here? Why is it important to use it here?
    • 2/21/20
    • 1157views
    • 2comments
    0
  • Geoff Green
    Level 10
    Calgary
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Archived
    Matching all Conditions. What am I missing?Any help is greatly appreciated.
    • 2/23/20
    • 965views
    • 4comments
    0
  • Sindhura
    Level 15
    Delhi
    Question about the task Fluffy yet again…
    Java Core, Level 2, Lesson 12
    Under discussion
    I have assigned empty value but still not verifying?package com.codegym.task.task12.task1223; /* Fluffy yet again… */ public class Solution { public static void main(String[] args) { Pet pet = new Cat(); pet.setName("I'm Fluffy"); System.out.println(pet.getName()); } public static class Pet { protecte
    • 10/11/18
    • 1969views
    • 1comment
    1
  • Antonia
    Level 10
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Under discussion
    help please....
    • 7/16/19
    • 1120views
    • 2comments
    0
  • LucGar
    Level 22
    Bilbao
    Question about the task Working with dates
    Java Syntax, Level 8, Lesson 11
    Under discussion
    ParsePosition in simpledateformatI use, ParsePosition in simpleformat for "java Date Formatting ParseException" but, What does ParsePosition mean? i put ParsePosition with value of "0" but if i try to put this with value of "4" this give me java.lang.NullPointerException
    • 2/22/20
    • 961views
    • 2comments
    0
  • Misba Iram
    Level 13
    Sammamish
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Resolved
    I am not able to meet last requirement..kindly tell me what is wrong here..
    • 2/22/20
    • 1229views
    • 2comments
    0
  • Vaibhavi
    Level 5
    Vijayawada
    Question about the task Setting the number of cats
    Java Syntax, Level 4, Lesson 2
    Under discussion
    not getting where going wrongKindly help..!!
    • 12/2/19
    • 1701views
    • 3comments
    0
  • Alexandre Lalancette
    Level 41
    Quebec
    Question about the task Find the class by its description
    Java Collections, Level 6, Lesson 6
    Under discussion
    Any help?I've been stuck there for a while now trying to figure out what should be the utility class to call the method getDeclaredClasses on.
    • 2/9/20
    • 1000views
    • 2comments
    0
  • Leopold Bschorr
    Level 10
    Oldenburg
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    I just dont get it why is the last box not checking ? thanks ok it might not be the most elegant solution so far
    • 2/22/20
    • 875views
    • 0comments
    0
  • Leopold Bschorr
    Level 10
    Oldenburg
    Question about the task Jen or Jen?
    Java Syntax, Level 4, Lesson 6
    Resolved
    How does one check that two strings are identical ?Hi there, thanks for helping, is there something here i am not seeing ?
    • 2/23/20
    • 1003views
    • 2comments
    0
  • Liliane Top
    Level 17
    Amsterdam
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Archived
    Output correct but fail the testWhat am I missing?
    • 2/22/20
    • 917views
    • 0comments
    0
  • Art
    Level 13
    Chisinau
    Question about the task Static cats
    Java Syntax, Level 6, Lesson 11
    Under discussion
    Where's the problem? Last req. won't pass.Hello please help
    • 2/22/20
    • 1372views
    • 2comments
    0
  • Alexandre Lalancette
    Level 41
    Quebec
    Question about the task Circular iterator
    Java Collections, Level 7, Lesson 4
    Under discussion
    Can't pass 2nd requirement. Stuck at the remove() method ...I've been trying a couple of things without success
    • 2/12/20
    • 1029views
    • 1comment
    0
  • hidden #10589341
    Level 19
    Question about the task Display right away
    Java Syntax, Level 3, Lesson 3
    Under discussion
    using the CodeGym plugin in IntelliJ IDEAi have already instaled the CodeGym plugin for IntelliJ IDEA when i use top right button,It took them a long time to react,what should i do plz help me
    • 2/22/20
    • 941views
    • 3comments
    2
  • Liliane Top
    Level 17
    Amsterdam
    Question about the task Let's make the code do something useful!
    Java Syntax, Level 9, Lesson 11
    Resolved
    I have no idea what I am doingI tried copying code from others but it is clearly that I have no clue how it works. Can someone please enlighten me?
    • 2/20/20
    • 1012views
    • 5comments
    0
  • 1
  • ...
  • 230
  • 231
  • 232
  • 233
  • 234
  • ...
  • 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