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
  • Libby
    Level 2
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Resolved
    Can anyone help meMy output looks like this: Alpha, Beta, gamma, gamma, gamma, beta, beta, alpha, alpha. How can I change it around?
    • 2/11/21
    • 693views
    • 8comments
    0
  • Carlos Marco Maza
    Level 3
    Under discussion
    don't see taskhello, when I start the level 2 I don't see any of task. All task are empty. I start the lessons in Spanish and now in English, the people says this is the problem, but i chanche the languaje several times and it's equals.
    • 2/11/21
    • 615views
    • 0comments
    0
  • Henrique
    Level 41
    São Paulo
    Question about the task Your own FileWriter
    Java Core, Level 9, Lesson 11
    Under discussion
    Could somebody explain to me this task? I really didn't understand anything about it...It seems that I'm the only one who didn't get this one, and this is very frustrating. ¯\_(ツ)_/¯ Anyway, I tried to follow the steps of the requirements, but I really don't understand what this task is about, or what I have to do. I looked at the only two other help topics and still didn't get it...
    • 7/3/20
    • 977views
    • 13comments
    0
  • Aakankasha Sharma
    Level 19
    Chandigarh
    Question about the task Player and Dancer
    Java Core, Level 4, Lesson 4
    Resolved
    instanceOf works, but person.getClass().getSimpleName() does notboth are working fine to find what type of object has been instantiated but the first method is accepted whereas the second isn't: person instanceOf Dancer person.getClass().getSimpleName().equals("Dancer")
    • 2/6/21
    • 622views
    • 1comment
    0
  • Andrei
    Level 41
    Question about the task Buggy initializeIdAndName
    Java Core, Level 3, Lesson 2
    Resolved
    What is the purpose of DBObject in front of the method in the interface? Why do I have to change from DBObject to User when implementing the interface in the class? Hello, so I don't understand what is the purpose of the name of the interface in front of the abstract method? Also, the second question: When implementing the interface in the User class, why do I have to change from DBObject to User followed by method name? Thank you.
    • 11/26/20
    • 802views
    • 6comments
    1
  • Seth Barker
    Level 5
    Eureka Springs
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Under discussion
    Right answer - missing #3 requirementI seem to be getting the right answer, but the #3 requirement is not correct. Any hints on how I might do this differently? Thanks!
    • 2/9/21
    • 542views
    • 2comments
    0
  • Drzazgen
    Level 8
    Warsaw
    Question about the task Adding
    Java Syntax, Level 4, Lesson 16
    Resolved
    What is missing in my code? What is missing in my code?
    • 2/10/21
    • 629views
    • 2comments
    0
  • Kacper
    Level 20
    Under discussion
    what i should to do?When im trying to unlock next lesson, i see " the lesson was not found".
    • 2/10/21
    • 567views
    • 1comment
    0
  • Mina Nabil
    Level 17
    Sydney
    Question about the task Unknown animal
    Java Core, Level 2, Lesson 12
    Under discussion
    Hi, whats wrong with my solution ? thanks.Hi, whats wrong with my solution ? thanks.
    • 2/10/21
    • 802views
    • 3comments
    0
  • Mateusz
    Level 31
    Gdańsk
    Question about the task Replacing numbers
    Java Core, Level 9, Lesson 11
    Archived
    Fails at 6th conditionOutput is good, can anyone tell me what's the problem?
    • 2/8/21
    • 538views
    • 2comments
    0
  • AlfredW
    Level 23
    Denver
    Question about the task Your own FileWriter
    Java Core, Level 9, Lesson 11
    Under discussion
    Every now and then I get to a task, I read it, and I think: Am I in the right place? What did I miss? I have no Idea what this even says.....Ok, to be honest it happens with regularity. Then it is even worse when I go and read the various discussions and I see that I have no Idea what they are talking about. Where did these people learn this and how did I miss it? Way confused with this task. But this is nothing new, I am perpetually los
    • 10/29/20
    • 520views
    • 4comments
    0
  • Andrei
    Level 41
    Question about the task Tracking changes
    Java Core, Level 9, Lesson 11
    Resolved
    Why won't it verify? The output is as requestedIs it because in case the files have more lines than 6 it won't work? if (counterFile1 == 6){ while (true) { if (LinesFile1.get(counterFile1).equals(LinesFile2.get(counterFile2))) { lines.add(new LineItem(Type.SAME, LinesFile2.get(counter
    • 2/8/21
    • 864views
    • 18comments
    0
  • Przemek null
    Level 8
    Question about the task String array in reverse order
    Java Syntax, Level 7, Lesson 4
    Under discussion
    hints anyoneHey, I don't see my issue here. I thought this should work that way. Please help me solving this.
    • 2/9/21
    • 653views
    • 2comments
    0
  • Zach
    Level 22
    Fort Collins
    Question about the task Who called me?
    Java Syntax, Level 9, Lesson 2
    Under discussion
    StackTraceElement creation public static int method1() { method2(); StackTraceElement element = Thread.currentThread().getStackTrace(); return element.getLineNumber() ; } public static int method2() { method3(); StackTraceElement[] element = Thread.currentThread().getStackTr
    • 2/9/21
    • 884views
    • 2comments
    0
  • Zach
    Level 22
    Fort Collins
    Question about the task Stack trace with 10 calls
    Java Syntax, Level 9, Lesson 2
    Under discussion
    Getting 12 for method10().length??? public class Solution { public static void main(String[] args) throws Exception { int stackTraceLength = method1().length - method10().length + 1; System.out.println("Method1: " + method1().length); System.out.println("Method10: " + method10().length);
    • 2/9/21
    • 772views
    • 1comment
    0
  • Сергей
    Level 3
    Under discussion
    AccountWhere is the page "Exit my account". A computer is not mine
    • 2/9/21
    • 630views
    • 0comments
    0
  • Nathan
    Level 13
    Below the firmament
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    Correct answer, wrong method?Please check my logic, not sure what I've done wrong.
    • 1/27/21
    • 612views
    • 3comments
    0
  • MCantu
    Level 2
    Texas
    Under discussion
    So what is the difference between the following codes in a standard for loop?So what is the difference between the following codes in a standard for loop: list.get(i) //I know this holds the current element in the list. list.get(i+1); list.get(i -1) list.get(i) + 1) //I think this one grabs the next element following the current element???? list.get(i) -1) I am a little conf
    • 2/8/21
    • 993views
    • 4comments
    0
  • Abdelrahman
    Level 5
    Amman
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Resolved
    HelpWhy is it giving an error when I run it?
    • 1/31/21
    • 638views
    • 2comments
    0
  • Romain
    Level 26
    Paris
    Question about the task Word search
    Java Core, Level 10, Lesson 10
    Resolved
    Problem to return objectI read somewhere, Java send variable containig object by address and thanks to that is possible to modify directly objects I tried to make this and I don't understand but my returns always return "null" and not the object's address With different System.out.println I could see I success to have th
    • 2/8/21
    • 679views
    • 2comments
    0
  • Zach
    Level 22
    Fort Collins
    Question about the task 10 thousand deletions and insertions
    Java Syntax, Level 8, Lesson 6
    Under discussion
    Set method not working. public static void set10000(List list) { //write your code here for (int i = 0; i < 10000; i++) { list.add(new Object()); } This code should add the object to the end of the List correct? Is there a set method I am not aware of?
    • 2/8/21
    • 913views
    • 3comments
    0
  • Josephine
    Level 2
    Normal
    Question about the task Word search
    Java Core, Level 10, Lesson 10
    Resolved
    Fixed the diagonal and backward isuue..Still not veryfing.Tested with this.(.Words that are diagonal and backwards are being added incorrectly. I tested with an Array such as:)This is fixed.. {'f', 'd', 'e', 'h', 'l', 'k'}, {'u', 's', 'o', 'g', 'e', 'o'}, {'l', 'm', 'g', 'r', 'o', 'v'}, {'e', 'l', 'p', 'r', 'r', 'h'}, {'p', 'o', 'e', 'e', 'j', 'j'} But s
    • 1/26/21
    • 833views
    • 3comments
    0
  • Josephine
    Level 2
    Normal
    Question about the task Word search
    Java Core, Level 10, Lesson 10
    Resolved
    Can someone look thrrough....Tested for 3 sets of arrays. First set of array {'f', 'd', 'e', 'r', 'l', 'k'}, {'u', 's', 'a', 'm', 'e', 'o'}, {'l', 'n', 'g', 'r', 'o', 'v'}, {'m', 'l', 'p', 'r', 'r', 'h'}, {'p', 'o', 'e', 'e', 'j', 'j'} home - (5, 3) - (2, 0) same - (1, 1) - (4, 1) =======
    • 2/8/21
    • 462views
    • 2comments
    0
  • Libby
    Level 2
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Resolved
    Where am I wrong?What's wrong here? when I checked with the correct solution it is basically the same code. did I miss something?
    • 2/7/21
    • 589views
    • 4comments
    0
  • Klemen Horvat-Novak
    Level 4
    Radenci
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Help pls.Correct output result. But the last answer is not completed... Code: package com.codegym.task.task02.task0217;
    • 1/29/21
    • 631views
    • 3comments
    0
  • Mina Nabil
    Level 17
    Sydney
    Question about the task Family census
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Hi, I was wondering whats wrong with my code ? ThanksHi, I was wondering whats wrong with my code ? Thanks
    • 2/6/21
    • 778views
    • 3comments
    0
  • Ahmed
    Level 23
    Amsterdam
    Question about the task Shall we play?
    Java Core, Level 6, Lesson 13
    Resolved
    The player should not display a victory message if the variable isWinnerFound is already set to true (i.e. the winner has already been found).The output is exactly what the exercise expected. But I still get the error The player should not display a victory message if the variable isWinnerFound is already set to true (i.e. the winner has already been found). Anyone knows why is that? Thanks in advance!
    • 6/22/19
    • 2037views
    • 7comments
    1
  • Zach
    Level 22
    Fort Collins
    Question about the task The end
    Java Syntax, Level 7, Lesson 12
    Under discussion
    While loop is not working??? public class StringEntry { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); // initialize and ArrayList ArrayList stringList = new ArrayList(); while (!
    • 2/7/21
    • 845views
    • 1comment
    0
  • Nathan
    Level 13
    Below the firmament
    Question about the task Adding
    Java Syntax, Level 4, Lesson 16
    Resolved
    I may or may not have broken something.When I run the program in IntelliJ I think I'm satisfying all the criteria. However when I try to validate the answer it keeps timing out?
    • 2/7/21
    • 584views
    • 2comments
    0
  • Adrian
    Level 27
    Spanish Town
    Question about the task Equals and HashCode
    Java Multithreading, Level 1, Lesson 5
    Under discussion
    getClass() and instanceof"The equals method should check whether the passed object is a Solution object." Per the stated condition, why does code that uses getClass() check not pass but the instanceof check does? Strictly speaking the instanceof operator is not checking to see if the passed object is a Solution object, bu
    • 2/6/21
    • 842views
    • 3comments
    0
  • 1
  • ...
  • 89
  • 90
  • 91
  • 92
  • 93
  • ...
  • 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