CodeGym
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
  • hidden #10529213
    Level 19
    Question about the task Calculating salaries
    Java Core, Level 9, Lesson 11
    Resolved
    Last condition is not passingThe output is right, but the last condition is not passing. Thank you!
    • 10.06.2020
    • 721views
    • 2comments
    3
  • Justin Smith
    Level 41
    Greenfield, USA
    Question about the task Restaurant (part 16)
    Java Multithreading, Level 9, Lesson 15
    Resolved
    Inconsistent number types used in different classes for money amountsIn the Advertisement class, the amountsPerImpression is a long. This means no decimal places. In the VideosSelectedEventDataRow class, the amount field is also a long. So why then, in this task, when it gives you an example of what the printAdRevenue() method in the StatisticsManager should look li
    • 12.07.2022
    • 658views
    • 3comments
    0
  • larsintech
    Level 15
    Question about the task Flipping data
    Java Syntax, Level 13, Lesson 3
    Resolved
    My console shows the right result but code is wrong?My console shows the right result but code is wrong?
    • 29.07.2023
    • 200views
    • 4comments
    0
  • Khamdam Yusupov
    Level 47
    Question about the task Binary converter
    Java Syntax, Level 9, Lesson 2
    Under discussion
    Why it doesn't work?I did everything as it said in the conditions. But it doesn't work. Could someone help me please.
    • 28.07.2023
    • 219views
    • 5comments
    0
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task Everything ingenious is simple!
    Java Multithreading, Level 1, Lesson 2
    Under discussion
    Can You Please Help Me //I can't Understand package com.codegym.task.task21.task2103; /* Everything ingenious is simple! */ public class Solution { public static boolean calculate(boolean a, boolean b, boolean c, boolean d) { return (a && b && c && !d) || (!a && c) || (!b &
    • 23.04.2019
    • 1858views
    • 3comments
    0
  • larsintech
    Level 15
    Question about the task Who here is a descendant?
    Java Syntax, Level 11, Lesson 3
    Resolved
    Why do I get this error message?In the main method, 3 objects (an instance of the HybridCar, GasCar and ElectricCar classes) should be created. I have created three objects...
    • 26.07.2023
    • 223views
    • 3comments
    0
  • hidden #11364598
    Level 5
    Question about the task Second smallest number entered
    Java Syntax, Level 4, Lesson 2
    Resolved
    Why secondMin showing the first int entered? Hey I'm a bit lost. I thought my code would do the following: If a new low encountered then set secondMin as min then set min to X the new low. In reality tho my secondMin only stores the first value entered. Any hints?
    • 26.07.2023
    • 220views
    • 2comments
    0
  • larsintech
    Level 15
    Question about the task Two iPhones
    Java Syntax, Level 11, Lesson 5
    Under discussion
    What's wrong with my solution?The equals method must return true for two equal IPhone objects and false for different ones.
    • 26.07.2023
    • 231views
    • 1comment
    0
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task Externalizable Person
    Java Core, Level 10, Lesson 7
    Under discussion
    what is wrong in my code?need help
    • 10.04.2019
    • 1669views
    • 11comments
    0
  • Amantai
    Level 47
    Shymkent
    Question about the task Reading and writing to a file: CodeGym
    Java Core, Level 10, Lesson 2
    Resolved
    Needs come helpConsole output: true [First name: Mike Last name: Smith Birth date: 1989 01 27 Sex: male Country: United States, First name: Liliane Last name: Top Birth date: 1991 03 31 Sex: female Country: United Kingdom]
    • 23.07.2023
    • 352views
    • 3comments
    0
  • Megz
    Level 3
    Johannesburg
    Question about the task Price of apples
    Java Syntax, Level 3, Lesson 4
    Under discussion
    I dont understandi got it to run apple price at 100, 150 and 200 and neither of then complete the last requirement i dont get it. i added the lines in the solution to show how i did it
    • 29.09.2022
    • 793views
    • 2comments
    0
  • TatMik
    Level 22
    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...
    • 23.07.2023
    • 383views
    • 4comments
    0
  • DEEMA
    Level 3
    Under discussion
    How can I chang my name ?Hi guys Can someone help me
    • 23.07.2023
    • 193views
    • 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.
    • 20.07.2023
    • 526views
    • 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 🙏
    • 22.07.2023
    • 185views
    • 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.
    • 19.12.2019
    • 1202views
    • 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
    • 19.07.2023
    • 607views
    • 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
    • 21.07.2023
    • 190views
    • 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.
    • 20.07.2023
    • 208views
    • 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
    • 20.07.2023
    • 170views
    • 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
    • 18.07.2023
    • 649views
    • 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
    • 19.07.2023
    • 308views
    • 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();
    • 16.07.2023
    • 527views
    • 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 ??
    • 18.07.2023
    • 239views
    • 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
    • 17.07.2023
    • 254views
    • 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
    • 18.07.2023
    • 208views
    • 1comment
    0
  • Abegail Caducio
    Level 2
    Under discussion
    math randomcan you create me a math random problem
    • 16.07.2023
    • 172views
    • 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); }
    • 12.08.2022
    • 497views
    • 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
    • 09.02.2022
    • 1084views
    • 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.
    • 14.07.2023
    • 198views
    • 2comments
    0
  • 1
  • ...
  • 20
  • 21
  • 22
  • 23
  • 24
  • ...
  • 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