CodeGym
Promotion
CodeGym University
Learning
Course
Tasks
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
All quests Java Syntax Java Core Java Multithreading Java Collections Games
All levels Level 0 Level 1 Level 2 Level 3 Level 4 Level 5 Level 6 Level 7 Level 8 Level 9 Level 10 Level 11 Level 12 Level 13 Level 14 Level 15 Level 16 Level 17 Level 18 Level 19 Level 20 Level 21 Level 22 Level 23 Level 24 Level 25 Level 26 Level 27 Level 28
Any status New Discussed Resolved Archived Duplicates
Hot Popular New Old
  • BEXRUZ MADAMINOV
    Level 1
    New

    ллл

    шо
    • 11.03.2022
    • 58views
    • 0comments
    0
  • Gellert Varga
    Level 23
    Szekesfehervar
    Resolved

    Stopping threads: The unofficial version vs official version - 3 questions

    I did several tests on the above. I have experienced the following: 1) https://codegym.cc/quests/lectures/questcore.level06.lecture08 It seems the unofficial version always worked. It stopped the child thread in all cases. Is this really true in all cases? Or was it just by coincidence? 2) ht
    • 03.04.2021
    • 492views
    • 7comments
    0
  • IRFAN BAIG
    Level 9
    India
    Question about the task Creating a two-dimensional array
    Java Syntax, Level 6, Lesson 6
    Under discussion

    Not able to pass the last condition not sure why please give me hint

    Not able to pass the last condition not sure why please provide me suggestion
    • 10.03.2022
    • 78views
    • 1comment
    0
  • Yukihira
    Level 1
    Under discussion

    Could you sent me a code in this question?

    1. Bar Chart Write a program that asks the user to enter today’s sales for five stores. The program should display a bar chart comparing each store’s sales. Create each bar in the bar chart by displaying a row of asterisks. Each asterisk should represent $100 of sales. Here is an example of the
    • 09.03.2022
    • 96views
    • 1comment
    0
  • y-meyer2
    Level 25
    Germany
    Question about the task Building a file
    Java Core, Level 8, Lesson 11
    Under discussion

    Could someone tell me whats wrong in my code?

    Hi, it keeps saying that i didnt closed the streams but i think i did or am i wrong? Thanks in advance
    • 08.03.2022
    • 58views
    • 1comment
    0
  • Anonymous #10924226
    Level 15
    France
    Under discussion

    Where is level 5?

    Hello guys ! When i want to "view all task" in IntelliJ, i only have the levels before level 5 but nothing after :'( Any IDEA[ :-p] please? Thomas
    • 22.02.2022
    • 85views
    • 2comments
    0
  • Jaime Padilla
    Level 8
    Tempe
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Under discussion

    It seems to work, but won't pass. Why?

    When I print it out it does what it's supposed to, but it doesn't want to pass. What's the reason?
    • 03.03.2022
    • 80views
    • 2comments
    0
  • Jonaskinny
    Level 25
    Redondo Beach
    Resolved

    Each time I access Core Level 1 I get forced back to Syntax Level 17 Cleared cookies/restarted. Anyone know how to get through to Core when you are level 19?

    I'm so frustrated with this for the last few hours, wasting so much time. If anyone can suggest how to get around this I'd really appreciate it. I have reached out to Admin on message, chat, email etc and have not gotten a response. I am supposed to be working on this now and through the weekend and
    • 26.02.2022
    • 112views
    • 5comments
    0
  • asyraf
    Level 3
    Kuala Lumpur
    Question about the task Currency exchange
    Java Syntax, Level 3, Lesson 3
    Under discussion

    I need a clue.. Can someone help

    I have try and getting no result expect error.. i need a clue
    • 18.06.2019
    • 838views
    • 3comments
    0
  • Justin Smith
    Level 29
    Greenfield, USA
    Question about the task Find the bugs
    Java Core, Level 10, Lesson 10
    Resolved

    My code is now identical to the solution but still generates notserializableexception

    The only differences I can find: 1. The names of the arguments in the readObject and writeObject methods in the B class. Instead of "in" and "out" I use "aInputStream" and "aOutputStream". Shouldn't matter, right? 2. The order in which classes are declared. I have A and B declared before Main, the s
    • 21.11.2021
    • 120views
    • 1comment
    0
  • dodoalkhalbe
    Level 6
    Ames
    Under discussion

    What are static vs non static variables? what is variable scope?

    More about variable scope (section)
    • 27.02.2022
    • 77views
    • 1comment
    0
  • Josephine
    Level 26
    Normal
    Question about the task Minesweeper (Part 15/16)
    Games, Level 0, Lesson 0
    Under discussion

    Can somone explain ,what does the 7th requirement do..with setcellvalue?

    The createGame() method must clear all items (flags, mines, numbers) from the playing field. Use the setCellValue(int, int, String) method. Pass an empty string as the last argument.
    • 18.02.2021
    • 173views
    • 5comments
    0
  • Luyi
    Level 31
    Kosice
    Question about the task Minesweeper (Part 15/16)
    Games, Level 0, Lesson 0
    Resolved

    last condition

    Hello there, I do not understand last condition; my point is in the method onMouseLeftClick I already opening the tiles. Why should I open a tile and restart the game in the same turn? What I am missing here please? At first point I thought that I should call the restart method only in case isGame
    • 04.12.2019
    • 919views
    • 9comments
    0
  • Vo
    Level 41
    Sofia
    Question about the task Shortener (6)
    Java Collections, Level 6, Lesson 15
    Resolved

    Doesn't pass no matter what

    After tons of attempts and on the edge of desperation I decided to use the answer provided by CodeGym. First of all, my answer is literally the same as theirs But this is not everything, it doesn't even pass the provided answer. How is that even possible ? Please let me know what you think.
    • 13.04.2021
    • 218views
    • 3comments
    2
  • Jesus Bárbara
    Level 22
    Question about the task Minimum or maximum
    Java Syntax, Level 13, Lesson 2
    Resolved

    What's wrong here?

    Can someone help me figure out what's wrong? The output seems fine.
    • 24.02.2022
    • 89views
    • 2comments
    0
  • Andrew
    Level 29
    Seattle
    Question about the task Chat (part 17)
    Java Multithreading, Level 6, Lesson 15
    Under discussion

    Code passes verification but program doesn't run correctly

    When I run the Server, I enter a random port number, let's say "1111" (tried this with a variety of ports). I get "Server is running." Then I run the Client and for server address, I enter "localhost" (also tried with IP directly) and for port I enter "1111". Then I get back "An error occurred whil
    • 03.06.2019
    • 763views
    • 3comments
    0
  • Angel Stefan
    Level 23
    Sibiu
    Question about the task Problem solving
    Java Core, Level 9, Lesson 8
    Under discussion

    How regex work?

    After we split(" ") the string what is the value of array[4](the last element of array) if the string to split is "3 + 6 = "(4 char and 4 char space)? We have " "(space) after = but if we split with regex " " and after the space we don't have nothing why the array have 5 elements!?
    • 18.02.2022
    • 162views
    • 6comments
    0
  • Rich
    Level 23
    San Diego
    Question about the task Threads and bytes
    Java Core, Level 8, Lesson 11
    Under discussion

    missing fourth criteria

    looks like it should meet all checks but I'm missing the fourth. is it because I only use one Thread at a time and iterate to start new ones one at a time?
    • 22.02.2022
    • 94views
    • 3comments
    0
  • Jesus Bárbara
    Level 22
    Question about the task Binary to hexadecimal converter
    Java Syntax, Level 9, Lesson 2
    Resolved

    Am I missing something?

    What's wrong with my code? The output seems correct but the task is not completed. Can someone help me, please?
    • 21.02.2022
    • 147views
    • 7comments
    2
  • Alexandre Desbois
    Level 10
    Chamarandes-Choignes
    Question about the task Vowels and consonants
    Java Syntax, Level 9, Lesson 11
    Under discussion

    Why did I need to write "java.lang.String" instead of just String?

    Hello, I don't understand why IntelliJ didn't want me to write just String s and wanted me to add java.lang. before it. Do you know why? What should I do to just do it like before? Thanks, Alexandre
    • 21.02.2022
    • 76views
    • 1comment
    0
  • Alexandre Desbois
    Level 10
    Chamarandes-Choignes
    Question about the task Dividing by zero
    Java Syntax, Level 9, Lesson 11
    Resolved

    Why we shouldn't throw the Exception in the divideByZero() method?

    Hello, Everything is in the title. I don't understand why it's not necessary to throw the ArithmeticException in the divideByZero() method. Thanks, Alexandre
    • 21.02.2022
    • 95views
    • 2comments
    0
  • LuisRC
    Level 30
    Gijón
    Question about the task Let's talk music
    Java Core, Level 6, Lesson 3
    Under discussion

    Where's the problem?

    Hi, I've though that the problem with this task was that I had implemented it by using System.currentTimeMillis() which was not validated. After reading the help section I have modified it tby using the Date and again it didn'tt pass the validation. Now I've no idea was wrong. Thanks in advance for
    • 20.02.2022
    • 89views
    • 2comments
    0
  • sai
    Level 0
    Question about the task Amigo is very smart
    Java Syntax, Level 0, Lesson 2
    Under discussion

    help

    help me to solve amigo is very smart
    • 13.07.2021
    • 229views
    • 4comments
    0
  • Paul
    Level 15
    Mae Chan
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion

    How to see the Input in IntelliJ?

    I can't find the Input (8 & Kevin) in IntelliJ, also when I run the program in IntelliJ, I don't get the right result ( just the file location), still the code was marked as correct. I tried to run the code later on the website, but you can't run it anymore once it is correct. Does anyone knows
    • 23.10.2019
    • 1005views
    • 3comments
    3
  • LuisRC
    Level 30
    Gijón
    Question about the task Request parser
    Java Core, Level 5, Lesson 12
    Under discussion

    What's wrong?

    Hi there, I've been dealing with this task for two days and the fact is that I think I don't understand what's expected in this task and why my solution has not been validated. Some help please?
    • 18.02.2022
    • 104views
    • 2comments
    0
  • aijo
    Level 30
    Germany
    Question about the task Rarest bytes
    Java Core, Level 8, Lesson 3
    Under discussion

    Output seems correct, but validation fails. Why?

    Does someone perhaps know why my solution fails the validation? the outputs seem to be correct when I test with sample file...
    • 16.02.2022
    • 187views
    • 12comments
    0
  • Angel Stefan
    Level 23
    Sibiu
    Question about the task Counting words
    Java Core, Level 9, Lesson 5
    Resolved

    It work's with my file!

    Any hint? Tk you!
    • 17.02.2022
    • 111views
    • 8comments
    0
  • Andrew
    Level 7
    Charlotte
    Question about the task Price of apples
    Java Syntax, Level 3, Lesson 4
    Under discussion

    I do not understand where Apples came from.

    I don't understand why it's Apple.applePrice + applesPrice instead of Apple.applePrice + Apple.apple2Price... since you're adding the prices of apple1 and apple2.
    • 17.02.2022
    • 122views
    • 1comment
    0
  • Юра Иванов
    Level 1
    Kharkiv
    Under discussion

    Коли я ввожу свою адресу, видається сповіщення, що вона використовується іншим користувачем. Що ж робити?

    • 17.02.2022
    • 84views
    • 1comment
    0
  • Jcode
    Level 25
    Question about the task There are a lot of resources
    Java Syntax, Level 16, Lesson 3
    Under discussion

    Why is the throws IOException required in line 14???

    The task gets us to take a pre-Java 7 try-catch-finally and update it using a try-with-resources. The code shown below is the task is in its untouched original form hence the errors shown when it is verified. I noticed on Line 14 public static void main(String[] args) throws IOException { On line
    • 15.02.2022
    • 146views
    • 12comments
    0
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • ...
  • 345
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Game Projects
  • Java Syntax
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success Stories
  • Activity
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 Java developer’s career.
Follow us
Interface language
Programmers Are Made, Not Born © 2022 CodeGym
Download App
  • Google Play
  • Huawei AppGallery
  • App Store
MastercardVisa
Programmers Are Made, Not Born © 2022 CodeGym
This website uses cookies to provide you with personalized service. By using this website, you agree to our use of cookies. If you require more details, please read our Terms and Policy.