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
  • Balmer Mwongera
    Level 3
    Nairobi
    Under discussion
    i cannot access my IDE to practice the lines of code per the lessonsi cannot access my IDE to practice the lines of code per the lessons
    • 6/15/19
    • 1262views
    • 1comment
    0
  • judi domino indonesia
    Level 0
    Under discussion
    What is poker?Poker is actually a Kind of Gambling sport judi domino indonesia which has taken a new dynamism of enjoying on the web.
    • 6/18/19
    • 1302views
    • 1comment
    0
  • coder_here
    Level 13
    Hyderabad
    Under discussion
    why does the level 3 lesson 1 lecture doesn't unlock?when I try to unlock the lecture, it's repeatedly showing "Quest does not exist". Why??
    • 6/19/19
    • 1124views
    • 1comment
    0
  • Tore Garberg
    Level 0
    Under discussion
    Can anyone tell me why the program are 40,30,30What's will be printed when this program is executed? public class Person { { personCount = 10; } static { personCount = 20; } private static int personCount = 1000; { personCount = 30; } static { personCount = 40; } public sta
    • 6/23/19
    • 971views
    • 1comment
    0
  • nagabenang
    Level 6
    Bekasi
    Under discussion
    java.lang.NumberFormatException: nullThere is this minor thing that bugs me. When there aren't any number in the input screen, it shows this error: java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:542) at java.lang.Integer.parseInt(Integer.java:615) at com.codegym.task.task04.task0418.Solution.main(S
    • 6/25/19
    • 1281views
    • 1comment
    0
  • Ritik Singh
    Level 8
    Gwalior
    Under discussion
    code is working through both "this.catCount += 1" and "Cat.catCount +=1" ....Why??
    • 7/30/19
    • 1007views
    • 1comment
    0
  • hidden #10362262
    Level 9
    Question about the task To the top of the list
    Java Syntax, Level 7, Lesson 6
    Under discussion
    When using IntelliJ I keep getting the output that is shown. I cannot get my exercise to run. Please help me. I cannot seem to get my code to run when I am using IntelliJ. What does the highlighted text mean?
    • 7/31/19
    • 1221views
    • 1comment
    0
  • Nitin raj
    Level 12
    Mumbai
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    Can anyone debug thisPlease check whats wrong here. Kindly explain in detail.
    • 7/31/19
    • 1149views
    • 1comment
    0
  • Joy Majumdar
    Level 16
    Kolkata
    Under discussion
    Query about constructorHi! Thanks for reaching out. Please refer to the Help section of our website with questions relating to tasks and/or lectures. Other students and our developers will gladly help you.
    • 8/1/19
    • 1008views
    • 1comment
    0
  • KARAN BHOITE
    Level 15
    Nagpur
    Question about the task Time for 10,000 insertions
    Java Syntax, Level 8, Lesson 6
    Under discussion
    this concept i am not getting properly....public class Solution { public static void main(String[] args) { System.out.println(getInsertTimeInMs(new ArrayList())); System.out.println(getInsertTimeInMs(new LinkedList())); } public static long getInsertTimeInMs(List list) { long startTime = System.currentTim
    • 8/6/19
    • 1414views
    • 2comments
    0
  • Bhavishya Samriya
    Level 8
    Jaipur
    Question about the task Make a family
    Java Syntax, Level 8, Lesson 11
    Under discussion
    unable to pass the last condition
    • 8/7/19
    • 1961views
    • 1comment
    0
  • Hendra
    Level 8
    Medan
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    I am stuck with the last requirement ...advice plz...package com.codegym.task.task02.task0217;
    • 11/12/19
    • 992views
    • 1comment
    0
  • Mohan Amilineni
    Level 22
    Brisbane
    Under discussion
    Intellij task issuesAm facing an issue while loading the tasks in intelliJ. Is plugin provided by code Gym team works there ? anyone faced the similar issue ? Also how do I link my account and levels in intellij.
    • 8/8/19
    • 1129views
    • 1comment
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task Escaping characters
    Java Syntax, Level 3, Lesson 6
    Under discussion
    HelpAs far as I can tell I've added all the necessary escape characters but it's still not working. Please help. Thank you
    • 8/8/19
    • 1086views
    • 2comments
    0
  • Niladri pradhan
    Level 33
    Mumbai
    Question about the task Minesweeper (Part 2/16))
    Games, Level 0, Lesson 0
    Under discussion
    task condition 4 couldn't metwhats wrong with the code please help.
    • 8/9/19
    • 1253views
    • 1comment
    0
  • ddi
    Level 18
    Dortmund
    Question about the task Minesweeper (Part 5/16)
    Games, Level 0, Lesson 0
    Under discussion
    Last requirement help pls!Hi everyone, what am i missing in the last requirement?
    • 8/9/19
    • 1554views
    • 1comment
    0
  • Meera
    Level 5
    Bantval
    Under discussion
    Task failed to pass even though getting correct outputpublic class Solution { public static void main(String[] args) { displayClosestToTen(8, 11); displayClosestToTen(7, 14); displayClosestToTen(8, 12); } public static void displayClosestToTen(int a, int b) { int num1 = 10 - a; int num2 = 10 - b;
    • 8/24/19
    • 1142views
    • 1comment
    0
  • aadta4
    Level 1
    Mogadishu
    Under discussion
    How can i skip some levels (lessons) in order to practice the topics i'm interested in? Hey aliens, i'm not a newbie and i was wondering to practice some topics i'm learning right now? All i see now is 'locked' and noway to unlock it unless i go through all lessons (which i can't because i already know). please help.
    • 5/3/19
    • 1194views
    • 1comment
    1
  • ilian44
    Level 30
    Veliko Turnovo
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Archived
    Strange behaviour of javaHi there, I noticed this issue of the java compiler and cant understand why .. ? So if there is an empty element in the array, it does not goes to the if statement?? {"", "", "", "sam","i","am."} array[i].equals(empty) || array[i].equals(empty1) BufferedReader reader = new BufferedReader(new
    • 8/31/19
    • 1046views
    • 1comment
    0
  • Jonathan Feller
    Level 17
    Munich
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    Better Solutions?I solved the task, but my solution is rather ugly i think as it uses 3 for-loops. any ideas for more elegant/efficient solutions? sometimes i miss something like standard/best practice examples for the tasks..
    • 8/31/19
    • 1418views
    • 1comment
    0
  • Shaun Forster
    Level 14
    United Kingdom
    Under discussion
    Intellij Idea won't loadWhen I try to load the last tasks I was working on yesterday it just instantly closes the application. Any ideas? edit: I cannot open any of the code gym tasks in intellij idea. Doing so causes the application to instantly close. There are no errors however. The log's are always # # A fatal erro
    • 9/2/19
    • 1829views
    • 1comment
    0
  • Lakshmanan Subramanian
    Level 16
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    I'm receiving the correct answer, but verification unsuccessful.The output is coming correct as expected, but the task is not getting passed. Please let me know the issue is the code and what needs to be corrected
    • 11/11/19
    • 1366views
    • 4comments
    0
  • Glenn Akens
    Level 3
    Rochester
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Not compilingHello all, I'm not understanding why this isn't compiling. Was wondering if I could get some assistance. Also can someone explain why we need to use "<=" instead of just < in this?
    • 11/7/19
    • 1129views
    • 3comments
    0
  • Brett Cole
    Level 10
    Question about the task Changing functionality
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Line 21 throwing NullException errorWhy is line 21 throwing NullException error? Everything that I’ve tried has failed and I’m not sure why. \ Please help!
    • 9/1/19
    • 1296views
    • 2comments
    1
  • hidden #10538281
    Level 10
    Question about the task A programmer creates a person
    Java Syntax, Level 5, Lesson 7
    Under discussion
    Can't see why it doesn't compileI get: java:11: error: cannot find symbol person.initialize("Mike", 22); ^ Thank you for your help!
    • 11/10/19
    • 1543views
    • 2comments
    0
  • Guadalupe Gagnon
    Level 37
    Tampa
    Question about the task Racer (Part 17/28)
    Games, Level 0, Lesson 5
    Resolved
    Bug in verification?All conditions are met yet fails verification. I have tested it and it runs exactly as expected. Probably a bug in the verification.
    • 10/31/19
    • 1204views
    • 1comment
    0
  • Ritik Singh
    Level 8
    Gwalior
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Under discussion
    What is wrong here...please helppackage com.codegym.task.task07.task0713; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; /* Playing Javarella */ public class Solution { public static void main(String[] args) throws Exception { //write your code h
    • 8/24/19
    • 1330views
    • 1comment
    0
  • Antonia
    Level 10
    Question about the task One large array and two small ones
    Java Syntax, Level 7, Lesson 4
    Under discussion
    help?
    • 7/24/19
    • 1448views
    • 1comment
    0
  • kapoolan
    Level 15
    Pasadena
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Why the order in which the lists are declared is so important?I've struggled for this problem for a while and finally after I change the declaration order of my two ArrayList, I passed the tests. But I am still confused about why the order is so important, as the requirement also mentioned. For people's reference, I originally declared the list divisible by tw
    • 7/26/19
    • 1523views
    • 1comment
    1
  • harshshah
    Level 9
    Gandhinagar
    Question about the task Do we have a pair?
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Error !Not able to satisfy last condition, which is don't display any thing if no number matchs.
    • 7/27/19
    • 1311views
    • 1comment
    0
  • 1
  • ...
  • 261
  • 262
  • 263
  • 264
  • 265
  • ...
  • 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