CodeGym
Promotion
CodeGym University
Java FullStack
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
  • TatMik
    Level 1
    Stockholm
    Question about the task Remove duplicate strings
    Java Syntax, Level 5, Lesson 3
    Resolved
    What should I fix?The both alternatives don't pass the test but work correctly for me...
    • 7/23/23
    • 553views
    • 4comments
    0
  • DEEMA
    Level 3
    Under discussion
    How can I chang my name ?Hi guys Can someone help me
    • 7/23/23
    • 330views
    • 1comment
    0
  • matemate123
    Level 50
    Kraków
    Question about the task Restaurant (part 10)
    Java Multithreading, Level 9, Lesson 15
    Under discussion
    Scary 10 partI need help here definitely! Guys, tell me how far away I am from the solution, and give me some advice because I don't know exactly what the validator wants here. There are so many places to make errors here, and I don't want to bang head against the wall.
    • 7/20/23
    • 719views
    • 3comments
    0
  • DEEMA
    Level 3
    Under discussion
    I need helpHi guys Can any one help me ,because I don’t have any dark matter and I do all my tasks I don’t know what should I do to get dark matter So if someone can help me ,please answer me Thank you 🙏
    • 7/22/23
    • 327views
    • 2comments
    0
  • Gowtham
    Level 15
    Bangalore
    Resolved
    How to open the Java Core tasks on IntelliJ?I just finished all of the Syntax tasks. Please tell me how to open the Core quests on IntelliJ Idea.
    • 12/19/19
    • 1339views
    • 4comments
    0
  • Amantai
    Level 47
    Shymkent
    Question about the task Introducing tags
    Java Core, Level 9, Lesson 11
    Resolved
    The program ran too long and was closed!File contents: Info about Leela Leela Turanga Supergirl Output: Leela Turanga Leela Turanga Super girl Process finished with exit code 0
    • 7/19/23
    • 828views
    • 5comments
    0
  • Amantai
    Level 47
    Shymkent
    Question about the task Replacing numbers
    Java Core, Level 9, Lesson 11
    Resolved
    Please tell me where is the mistake?Input file: This costs 1 dollar, but this is 12. The variable is called file1. 110 is a number. Football is played by 22 people, but 11 Germans always win. Console output: This costs one dollar, but this is twelve. The variable is called file1. 110 is a number. Football is played by 22 people, but
    • 7/21/23
    • 321views
    • 2comments
    0
  • Amantai
    Level 47
    Shymkent
    Question about the task Words with numbers
    Java Core, Level 9, Lesson 11
    Resolved
    Where is the mistake?mentor recommendation: Be sure that the program writes all the words containing numbers from the first file to the second file.
    • 7/20/23
    • 360views
    • 2comments
    0
  • Boris
    Level 1
    New
    Can I retake the placement test?I took some courses on Java and now I wonder if I can retake the placement test here so it reflects my level better without going through the tasks manually
    • 7/20/23
    • 312views
    • 0comments
    0
  • Rebecca Zee
    Level 10
    New York
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Error occurs when running the programHow do I resolve this error when I run my program? I can pinpoint that it has to do with adding a string to the ArrayList in the doubleValues(ArrayList) method. When I use the loop to print out the list it runs just fine. java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkFo
    • 7/18/23
    • 841views
    • 7comments
    0
  • Gummy C
    Level 11
    United States of America
    Question about the task Two iPhones
    Java Syntax, Level 10, Lesson 4
    Under discussion
    Hello again! I am having trouble understanding the issue with my code again. The first if statement compares whether or not the two objects are equal. The second if statement compares whether an object has null. The third if statement compares the two objects to see if they have identical elements. package en.codegym.task.pro.task10.task1010; import java.util.Objects; /* Two iPhones */ public class Iphone { private String model; private String color; private int price; public Iphone(String model, String color, int price) { this.model = model; this.color = c
    • 7/19/23
    • 492views
    • 3comments
    0
  • Gummy C
    Level 11
    United States of America
    Question about the task Serial entrepreneur
    Java Syntax, Level 10, Lesson 2
    Under discussion
    Please help, I do not understand what the problem is. Why do we "have" to use a void method when a static method could be used as well? It returns the same thingpackage en.codegym.task.pro.task10.task1005; /* Serial entrepreneur */ public class Building { private String type; public static String initialize(String type){ return type; } public static void main(String[] args) { Building building = new Building();
    • 7/16/23
    • 730views
    • 5comments
    0
  • Nisha Kumari
    Level 4
    Question about the task Three numbers
    Java Syntax, Level 3, Lesson 2
    Under discussion
    what is the error in my code ?? my code is showing error why ??
    • 7/18/23
    • 411views
    • 2comments
    0
  • Amantai
    Level 47
    Shymkent
    Question about the task Tracking changes
    Java Core, Level 9, Lesson 11
    Resolved
    What's my mistake?mentor recommendation: Be sure that the lines list has the ADDED label with the required lines in the correct places. I tested the task according to the conditions. Here are the results: file1: file2: results: line1 line1 SAME line1 line2 line3
    • 7/17/23
    • 396views
    • 2comments
    0
  • Amantai
    Level 47
    Shymkent
    Question about the task Calculating salaries
    Java Core, Level 9, Lesson 11
    Under discussion
    Why isn't a decision made?Input: Output: Brown 1.44 Baxter 4.1 Baxter 2.75 Peterson 5.1 Peterson 2 Smith 6.0 Brown 3.14 Brown 6.6 Smith 6 Baxter 1
    • 7/18/23
    • 356views
    • 1comment
    0
  • Abegail Caducio
    Level 2
    Under discussion
    math randomcan you create me a math random problem
    • 7/16/23
    • 289views
    • 1comment
    0
  • J
    Level 41
    Wilson
    Question about the task Restaurant (part 4)
    Java Multithreading, Level 9, Lesson 15
    Under discussion
    Why is this not validating and giving an error (the only one) for my update method in the Waiter class? @Override public void update(Observable o, Object arg) { this.order = (Order) arg; System.out.println(this + " was prepared by " + o); }
    • 8/12/22
    • 657views
    • 2comments
    0
  • Justin Smith
    Level 41
    Greenfield, USA
    Question about the task Distributing items into baskets with their own lock
    Java Multithreading, Level 6, Lesson 8
    Under discussion
    So much in this task I don't understand1. What's the Node class? I've tried googling this but the explanations are all very technical and refer to other things I also don't understand. 2. What's up with the for loop? I've never seen the .next in a for loop like this. 3. What is the hash method accomplishing? It seems it would return a se
    • 2/9/22
    • 1264views
    • 7comments
    1
  • Amantai
    Level 47
    Shymkent
    Question about the task Reversing a file
    Java Core, Level 8, Lesson 5
    Resolved
    Where is the mistake?I used the required input/output streams and closed them immediately after reading/writing.
    • 7/14/23
    • 324views
    • 2comments
    0
  • Gummy C
    Level 11
    United States of America
    Question about the task Searching in a string
    Java Syntax, Level 9, Lesson 3
    Under discussion
    I have shown two different solutions that I tried which acheived the correct answer. But, it seems that I am still wrong. Please help me understand what I am doing wrongpackage en.codegym.task.pro.task09.task0913; /* Searching in a string */ public class Solution { public static void main(String[] args) { String string = "To become a programmer, you need to write code. To write code, you have to learn. To learn, you need desire."; String word
    • 7/13/23
    • 405views
    • 2comments
    0
  • Bejjipurapu Sowjanya
    Level 1
    New
    I want code for maven project in eclipse I want code for searching iPhone 13 in Amazon page and click on the first product in Amazon search page .get the details like product name, price and all available colours and store it into Excel sheet.
    • 7/14/23
    • 403views
    • 0comments
    0
  • Amantai
    Level 47
    Shymkent
    Question about the task Prices
    Java Core, Level 8, Lesson 11
    Resolved
    What is my problem?Testing was successful.
    • 7/12/23
    • 418views
    • 2comments
    0
  • pedro
    Level 0
    Question about the task 2048 (Part 17/18)
    Games, Level 0, Lesson 2
    New
    pedro🔁🔁🔁🔁🔁🔁🔁🔀🔀🔀🔼🔼
    • 7/12/23
    • 402views
    • 0comments
    0
  • Vadim “迪姆哥”
    Level 35
    Question about the task Once there were 32 teeth
    Java Syntax, Level 2, Lesson 4
    Resolved
    optimal solution with for cycle why this solution wrong? it meets all requirements for (int i=0; i<9;i++){ toothCounter--; }
    • 9/17/22
    • 755views
    • 2comments
    0
  • vamps
    Level 1
    Gurgaon
    New
    print a program of two names write a program to print two names using two objects in instant variables
    • 3/9/23
    • 407views
    • 0comments
    0
  • dagim
    Level 2
    Question about the task Concatenation of strings and numbers
    Java Syntax, Level 2, Lesson 3
    Under discussion
    how ? x=2 , y=4, in between ther is space ,z=0 i think the answer was 24 0how is possible
    • 3/16/23
    • 430views
    • 1comment
    0
  • Nitin Saini
    Level 4
    Question about the task Comparing strings by reference
    Java Syntax, Level 3, Lesson 9
    Under discussion
    why is it showing that appropriate messages are not shownplease help
    • 3/24/23
    • 486views
    • 1comment
    0
  • Nitin Saini
    Level 4
    Question about the task Filled rectangle
    Java Syntax, Level 4, Lesson 3
    Under discussion
    help pleasethere's no mistake in my cide still it is showing error please help
    • 3/26/23
    • 397views
    • 1comment
    0
  • Henk
    Level 7
    Pretoria
    Question about the task There's never too much of a good thing
    Java Syntax, Level 4, Lesson 8
    Under discussion
    I cannot continue to the next lesson/taskI completed the task, verified it correctly, and then downloaded the solution to see if I could have done it more efficiently. Then I downloaded my code again, and verified again, and it tells me it's already verified. But now I cannot continue/unlock the next task.
    • 3/22/23
    • 486views
    • 1comment
    0
  • Nitin Saini
    Level 4
    Question about the task Summation
    Java Syntax, Level 4, Lesson 3
    Under discussion
    help please why in the 18th line this command is used sum = sum + number;
    • 3/26/23
    • 492views
    • 1comment
    0
  • 1
  • ...
  • 24
  • 25
  • 26
  • 27
  • 28
  • ...
  • 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