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
  • Cristian
    Level 16
    Bucharest
    Question about the task Shuffled just in time
    Java Syntax, Level 7, Lesson 12
    Under discussion
    What is wrong with my code? Thanks a lot!package com.codegym.task.task07.task0720; //import java.io.BufferedReader; import java.io.IOException; //import java.io.InputStreamReader; import java.util.Scanner; import java.util.ArrayList; /* Shuffled just in time */ public class Solution { public static void main(String[] args) throws I
    • 12.11.2019
    • 1457views
    • 2comments
    0
  • hornswong
    Level 4
    Seattle
    Under discussion
    Why did I purchase the subscription service with paypal, but the account is still no subscription?please helpplease help me
    • 12.11.2019
    • 832views
    • 3comments
    0
  • Patryk Zet
    Level 7
    Gdansk
    Under discussion
    what is wrong with comilation?package pl.codegym.task.task02.task0204; /* Family relations */ public class Solution { public static void main(String[] args) { //tutaj wpisz swój kod Man man = new Man(); man.wife = new woman(){ Woman woman = new Woman(); woman.husband = new
    • 12.11.2019
    • 959views
    • 2comments
    0
  • Soham
    Level 5
    Kitchener
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Can someone please explain me what is happening in this code. I didn't understand anything what does abs method does and what does this code do, if (abs(10-a)
    • 14.10.2019
    • 1071views
    • 1comment
    0
  • Philip Butler
    Level 32
    United Kingdom
    Question about the task Generics for creating a proxy object
    Java Collections, Level 2, Lesson 8
    Under discussion
    Stumped ... test criteria met but does not verifyAnyone can help? I think I'm either misunderstanding or missing something obvious. My solution meets all the test criteria but fails to verify. I think I'm not using ItemInvocationHandler correctly. Thanks in advance.
    • 12.11.2019
    • 989views
    • 1comment
    0
  • Steve
    Level 9
    Denver
    Question about the task Make a family
    Java Syntax, Level 8, Lesson 11
    Resolved
    Not sure why I am getting this error,,THIS IS THE ERROR I am getting.. method addAll in class java.util.Collections cannot be applied to given types; required: java.util.Collection
    • 07.08.2019
    • 2394views
    • 4comments
    0
  • Anonymous
    Level 18
    Question about the task GCD
    Java Core, Level 4, Lesson 8
    Resolved
    Tried almost EVERYTHING , still not verifying. .
    • 21.02.2019
    • 1648views
    • 6comments
    0
  • Evghenii
    Level 13
    Chisinau
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Resolved
    What the problem?Hi everyone. Wen I put the code in IntelliJ IDE it work normally, But in CodyGem write me, that I have a problem. Please Help me to understand my problem.
    • 26.05.2019
    • 1887views
    • 15comments
    0
  • Thomas
    Level 13
    Scottsdale
    Under discussion
    Help ... Level 3 -- DISPLAY RIGHT AWAY .... stumped -- where / how do I structure this ??? public static void printString(String s) String a = "Hello, "; String b = "Amigo!"; String s = a + b; printString (s); // System.out.println(); public static void main(String[] args) { // printString(a + b); pr
    • 19.05.2019
    • 1116views
    • 1comment
    0
  • Johnny
    Level 2
    Manchester
    Under discussion
    Is there any way of opening up quests without having completed the previous?Hi, I'm particularly interested in the multithreading and collections quests but I don't want to have to grind through the other quests to get to them. Is there any way I can access them? Thanks
    • 30.05.2019
    • 1301views
    • 1comment
    0
  • hidden #10444738
    Level 16
    Question about the task One large array and two small ones
    Java Syntax, Level 7, Lesson 4
    Under discussion
    Why does this fail!!!!Why does this faill on creating two small arrays?
    • 04.06.2019
    • 1701views
    • 2comments
    0
  • Anuj Jaiswal
    Level 10
    Varanasi
    Question about the task Set of cats
    Java Syntax, Level 8, Lesson 11
    Under discussion
    what's the need to write this??for (Iterator iterator = cats.iterator(); iterator.hasNext();) { Cat c= iterator.next();<---------------------------- iterator.remove(); } without this the code is not working if someone can help
    • 10.06.2019
    • 1289views
    • 1comment
    0
  • Subhadeep Bhatta
    Level 3
    Kolkata
    Under discussion
    Can a package contain a maximum of only 1 class?.
    • 11.06.2019
    • 897views
    • 1comment
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    WHY THIS SOLUTION IS TRUE? SAY ME PLS :( For what for variable "N" that entered by keyboard and what she is doing? Why we dont show that variable "x" must be greater than 0? ANSWER THE MY QUESTIONS PLS BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int count = 0; int maximum = Integer.MIN_VALUE
    • 11.06.2019
    • 1294views
    • 1comment
    0
  • CapLand
    Level 23
    Mentor
    Question about the task Dividing by zero
    Java Syntax, Level 9, Lesson 11
    Under discussion
    Why am I not catching the ArithmaticException? package com.codegym.task.task09.task0919; /* Dividing by zero */ public class Solution { public static void main(String[] args) { try { divideByZero(); } catch (Exception e) { e.printStackTrace(); } } public static void divide
    • 13.06.2019
    • 1213views
    • 2comments
    0
  • Marlin Johnson
    Level 9
    Bloomington
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Under discussion
    What to do?Seems I can't understand my code :), with this map, iterator and for-each loop
    • 13.06.2019
    • 906views
    • 1comment
    0
  • Jason
    Level 26
    Rancho Cucamonga
    Under discussion
    Am I the only one that is pissed that they give task before actually teaching you how to solve the task at hand?Time and time again I am asked to do something that hasn't been taught yet and you are forced to look in the help section only to see that people are using code that hasn't even been covered and in doing so you are exposed to 95% of the work that needs to be done and can complete the task without ac
    • 13.06.2019
    • 1183views
    • 1comment
    0
  • Glen L
    Level 0
    Under discussion
    0 level lesson 4The task was to say "Ellie is clever" 5 times on separate lines. The answer included a "message" which was not covered in the lesson. Why wouldn't the following work? (again I didn't know message was a thing) String s = "Ellie is Clever"; system.out.println(s); system.out.println(s); system.out.pr
    • 14.06.2019
    • 1081views
    • 1comment
    0
  • ddi
    Level 18
    Dortmund
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Under discussion
    not getting the point.If i have reach the third condition why do i need the forth? It stats if its order show it, if not.... second i am not seeing how can i do it! Can someone help? Whats the code for that output? Thanks
    • 14.06.2019
    • 1179views
    • 1comment
    0
  • 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
    • 15.06.2019
    • 1158views
    • 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.
    • 18.06.2019
    • 1185views
    • 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??
    • 19.06.2019
    • 1010views
    • 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
    • 23.06.2019
    • 861views
    • 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
    • 25.06.2019
    • 1151views
    • 1comment
    0
  • Ritik Singh
    Level 8
    Gwalior
    Under discussion
    code is working through both "this.catCount += 1" and "Cat.catCount +=1" ....Why??
    • 30.07.2019
    • 898views
    • 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?
    • 31.07.2019
    • 1111views
    • 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.
    • 31.07.2019
    • 1028views
    • 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.
    • 01.08.2019
    • 913views
    • 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
    • 06.08.2019
    • 1317views
    • 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
    • 07.08.2019
    • 1790views
    • 1comment
    0
  • 1
  • ...
  • 258
  • 259
  • 260
  • 261
  • 262
  • ...
  • 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