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
  • 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
    • 1529views
    • 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
    • 1316views
    • 1comment
    0
  • dibidebe
    Level 7
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Under discussion
    need explanationcan you please explain what is wrong with my code? i've been trying different ways, but always one of the tests won't pass
    • 7/28/19
    • 1259views
    • 2comments
    0
  • Antonia
    Level 10
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    help!!
    • 7/29/19
    • 1123views
    • 1comment
    0
  • Jay
    Level 17
    Washington
    Question about the task Task about algorithms
    Java Syntax, Level 8, Lesson 11
    Under discussion
    Not satisfying last requirement For some reason or another, my program isn't satisfying the last condition. Your help is appreciated.
    • 7/29/19
    • 1588views
    • 2comments
    0
  • Itachi
    Level 16
    Brooklyn
    Question about the task Snake (Part 2/20)
    Games, Level 0, Lesson 1
    Under discussion
    helpwhere is problem
    • 7/30/19
    • 1303views
    • 1comment
    0
  • Jason
    Level 26
    Rancho Cucamonga
    Question about the task Writing to a file from the console
    Java Core, Level 3, Lesson 11
    Under discussion
    cant figure out why the program isn't writing to file... package com.codegym.task.task13.task1319; import java.io.*; /* Writing to a file from the console */ public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String fil
    • 8/9/19
    • 1558views
    • 1comment
    0
  • KARAN BHOITE
    Level 15
    Nagpur
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Under discussion
    please???i gues i am emtying hole map what should i do ..
    • 8/10/19
    • 1098views
    • 1comment
    0
  • DSK srilanka
    Level 0
    Delgoda
    Under discussion
    How to clear this type of Arrayint[] total = new int[10]; How to clear this type of Array
    • 8/12/19
    • 1235views
    • 1comment
    0
  • Rohith Samuel
    Level 1
    chennai
    Under discussion
    I don't know what is wrong with this Its ipackage com.codegym.task.task01.task0106;
    • 8/15/19
    • 974views
    • 1comment
    0
  • Rohith Samuel
    Level 1
    chennai
    Under discussion
    don't know what is wrong with thisIts ipackage com.codegym.task.task01.task0106;
    • 8/15/19
    • 971views
    • 1comment
    0
  • Harshit Kumar
    Level 18
    Patna
    Question about the task Clew
    Java Core, Level 6, Lesson 13
    Under discussion
    what is the problem herethread 4 requirement doesn't validate
    • 8/18/19
    • 1249views
    • 1comment
    0
  • Callum Davies
    Level 10
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Adding to numbers to list wont verify for meCan anyone help me here? I've spent a ridiculous amount of time on this question, looked in the help section, with no success. What could be the problem?
    • 8/19/19
    • 1187views
    • 3comments
    0
  • Wei Cui
    Level 39
    Newark
    Question about the task Contextual advertising
    Java Core, Level 9, Lesson 11
    Resolved
    Last question confusedmy result is correct, but its said "Carefully check the displayed text. It looks like you made a typo." I can't find where is wrong, please help me to find out.
    • 11/9/19
    • 1304views
    • 2comments
    0
  • Maja Mal
    Level 4
    Sanok
    Question about the task Time conversion
    Java Syntax, Level 3, Lesson 5
    Under discussion
    Hi! Why first is public static INT and second has to be VOID to run? Why it is not INT too or why both can not be void? public static int convertToSeconds(int hour){ public static void main(String[] args) { Hi! Why first is public static INT and second has to be VOID to run? Why it is not INT too or why both can not be void?
    • 11/5/19
    • 1538views
    • 3comments
    0
  • DITO ORKODASHVILI
    Level 3
    Kutaisi
    Under discussion
    Can I pause the subscription?As it turned out I will not have time to use my one month subscription. Can I pause it and renew some time later?
    • 8/20/19
    • 1034views
    • 1comment
    0
  • Brandon Horvatic
    Level 27
    Johannesburg
    Under discussion
    Is there a way to switch from Premium to Premium Pro in the middle of the month and just paying the difference?Is there a way to switch from Premium to Premium Pro in the middle of the month and just paying the difference?
    • 8/20/19
    • 1123views
    • 1comment
    0
  • Laurence Chadwell
    Level 4
    San Antonio
    Under discussion
    How can I modify this to where I can sort this arraylist descendingpackage com.codegym.task.task04.task0420; /* Sorting three numbers */ import java.io.*; import java.util.*; public class Solution { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); ArrayList list = new ArrayList();
    • 8/21/19
    • 1009views
    • 1comment
    0
  • Ireneusz Czerwiński
    Level 1
    Almere Stad
    Under discussion
    Why .contains(Object o) method return false in my code?- I have empty array, - I create 2 variables that contains identical objects, - I put a content of first variable to my array, using .add() method, - I check if my array contains object from second variable or not, object that is identical as object from first variable, I check it using .contains(O
    • 8/21/19
    • 1117views
    • 1comment
    0
  • waseem khan
    Level 13
    Rawalpindi
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Under discussion
    help please ?whats wrong in this code ?
    • 8/21/19
    • 1020views
    • 1comment
    0
  • VISHNURAJ YADAV
    Level 0
    Under discussion
    help me with running hibernate java programplease help me to solve this problem . i dont understand what to do now. will some please help me?
    • 11/10/19
    • 960views
    • 1comment
    0
  • Saheb Das
    Level 8
    Gurgaon
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Can't find any problem. anybody please review my code.
    • 11/11/19
    • 1050views
    • 1comment
    0
  • msc
    Level 13
    Bangalore
    Question about the task HashSet of plants
    Java Syntax, Level 8, Lesson 3
    Under discussion
    to pass verify for HashSet of plants task to pass verify 1) import java.util.* 2) use HashSet not Set
    • 11/11/19
    • 1367views
    • 1comment
    0
  • Christian Djanea
    Level 7
    Mount Laurel
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    Could someone help me with this? It passes all tests except test 2.package com.codegym.task.task07.task0709; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; /* Expressing ourselves more concisely */ public class Solution { public static void main(String[] args) throws Exception {
    • 11/11/19
    • 1545views
    • 4comments
    0
  • Miguel Cid
    Level 7
    Almeria
    Question about the task One large array and two small ones
    Java Syntax, Level 7, Lesson 4
    Under discussion
    Where is the problem?hey cos ! i'm completely locked in netbeans this works with randoms numbers why not here?
    • 11/11/19
    • 1171views
    • 3comments
    0
  • Steve
    Level 9
    Denver
    Question about the task Static methods for cats
    Java Syntax, Level 6, Lesson 8
    Under discussion
    Cat.catCount = catCount;I not sure what this method is called or how or why this works?? Any thoughts? public class Cat { private static int catCount = 0; public Cat() { catCount++; } public static int getCatCount() { //write your code here return catCount; } public static
    • 7/14/19
    • 1638views
    • 2comments
    0
  • Manish Sinha
    Level 1
    london
    Resolved
    what is wrong in this program(one of the practice program)below programs give the correct output in intellij but it shows some error in codegym check.. could you please help what is the error? package com.codegym.task.task07.task0716; import java.util.ArrayList; /* R or L */ public class Solution { public static void main(String[] args) throws Ex
    • 11/11/19
    • 1330views
    • 1comment
    0
  • allthemore
    Level 41
    Question about the task Tracking changes
    Java Core, Level 9, Lesson 11
    Under discussion
    Got exactly the same result as expected but verification didn't pass. What is wrong with my code?Program output: SAME line1 REMOVED line2 SAME line3 REMOVED line4 SAME line5 ADDED line0 SAME line1 REMOVED line2 SAME line3 ADDED line4 SAME line5 REMOVED line0
    • 5/20/19
    • 1421views
    • 0comments
    0
  • Patrick freeman
    Level 14
    Buffalo
    Question about the task All that moves
    Java Core, Level 3, Lesson 2
    Under discussion
    No IdeaI'm drawing a blank as to how to fulfill the final requirement. Sorry, Just, no idea what is required.
    • 11/10/19
    • 1453views
    • 3comments
    0
  • Petr Svitil
    Level 2
    Prague
    Question about the task Repetition is the mother of all learning
    Java Syntax, Level 2, Lesson 8
    Under discussion
    How is (s) linked to ("I love you!")?Hi, can someone clarify to me, why when we write System.out.println(s); it automatically knows that (s) is ("I love you!") ?
    • 11/10/19
    • 1509views
    • 1comment
    0
  • 1
  • ...
  • 262
  • 263
  • 264
  • 265
  • 266
  • ...
  • 374
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Game Projects
  • 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