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
  • Jaime Padilla
    Level 20
    Chandler
    Question about the task Remove duplicate strings
    Java Syntax, Level 6, Lesson 4
    Resolved
    Can't pass second check and a bug?The program seems to work. It will replace duplicates with null. Unless it refers to itself, then it continues. If I use Scanner.nextLine, it will end and display my results once I enter the 4th word, "Java". The only way I can enter more words is if I put something below it like a System.out.print
    • 07.06.2022
    • 890views
    • 8comments
    0
  • Jomar Tayactac
    Level 5
    Winnipeg
    Question about the task Make a word chain
    Java Multithreading, Level 2, Lesson 9
    Under discussion
    Any insight would be greatly appreciated. My code won't pass the last two requirements, please have a look at my code and let me know if you have any suggestions. Thanks!!
    • 08.06.2022
    • 570views
    • 1comment
    0
  • Surya
    Level 33
    Newark
    Question about the task Making the right conclusion
    Java Core, Level 10, Lesson 10
    Under discussion
    I don't understand what I'm missing here. Need helpCould someone help me here. My output matches the requirement but one of the validation fails.
    • 11.06.2020
    • 879views
    • 1comment
    0
  • Sansho
    Level 19
    Bordeaux
    Question about the task Snake (Part 14/20)
    Games, Level 0, Lesson 1
    Under discussion
    I don't understand why 4 and 5 are wrongsFor me, this bloc of code fullfill the conditions number 4 and 5: if (checkCollision(newHead)) isAlive = false; else { snakeParts.add(0, newHead); if (checkCollision(apple)) apple.isAlive = false; else
    • 06.06.2022
    • 418views
    • 1comment
    0
  • Angel Stefan
    Level 23
    Sibiu
    Question about the task Debug everything under the sun
    Java Core, Level 6, Lesson 13
    Resolved
    I print the two lines but I don't use uncaughtEx() !?How can i print the message of a method if that method is not used: "The program must use OurUncaughtExceptionHandler's uncaughtException method to display 2 messages."??? If i don't use this method() how i print to the console?
    • 31.01.2022
    • 876views
    • 5comments
    0
  • JD Obar
    Level 7
    Las Vegas
    Under discussion
    Why does my code results to NullPointerExceptionpublic class Solution { public static String[] strings; public static void main(String[] args) { //write your code here strings = new String[6]; String temp = "Somethig"; Scanner console = new Scanner(System.in); for (int x = 0; x < 6; x++) {
    • 04.06.2022
    • 299views
    • 1comment
    0
  • Anonymous #11005843
    Level 3
    Question about the task Snake (Part 20/20)
    Games, Level 0, Lesson 1
    Resolved
    Aufgabe 17 gelöst, trotzdem fehlerhaftIch stelle meine Frage mal am Ende, damit ich nicht spoilere. Die Aufgabe 17 wurde als richtig erkannt (Apfel darf nicht innerhalb der Schlange existieren) und habe das Spiel auch zu Ende programmiert. Aber habe beim Testen festgestellt, dass der Apfel trotzdem innerhalb meiner Schlange erscheinen
    • 02.06.2022
    • 509views
    • 10comments
    0
  • Tasmoda
    Level 28
    Midrand
    Question about the task Minesweeper (Part 6/16)
    Games, Level 0, Lesson 0
    Under discussion
    IntelliJ error for games tasksGood day. Are the Games tasks not designed to work with IntelliJ? I get the error below.
    • 01.06.2022
    • 369views
    • 0comments
    0
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task Clew
    Java Core, Level 6, Lesson 13
    Under discussion
    What is wrong in my code?need hint
    • 28.02.2019
    • 1677views
    • 9comments
    1
  • crispr_cast9
    Level 9
    Saint Petersburg
    Question about the task Logging stack traces
    Java Syntax, Level 9, Lesson 2
    Under discussion
    Why is the strange result in validation?My output: com.codegym.task.task09.task0906.Solution: main: In main method
    • 01.06.2022
    • 454views
    • 11comments
    0
  • crispr_cast9
    Level 9
    Saint Petersburg
    Question about the task Working with dates
    Java Syntax, Level 8, Lesson 11
    Under discussion
    Where is the problem here?I had being trying to add one more static method and one and two instance methods.
    • 30.05.2022
    • 447views
    • 2comments
    0
  • slyyx
    Level 15
    New York City
    Question about the task Cat carnage (3)
    Java Syntax, Level 10, Lesson 2
    Under discussion
    Task conditions are too vague to know why my solution doesn't workThe task conditions are too vague to understand why my solution doesn't work =\
    • 29.05.2022
    • 513views
    • 2comments
    0
  • Ajani
    Level 16
    Jacksonville
    Question about the task A list and some threads
    Java Core, Level 6, Lesson 3
    Under discussion
    Question about why it doesn't work.So I know it's wrong but curious about exactly why please explain. I know we're supposed to create a new Thread object which then passes the new SpecialThread as an argument but I don't understand why we break from our standard initializing procedure of ObjectType variableName = new ObjectOfObject
    • 29.05.2022
    • 354views
    • 1comment
    0
  • Jürg Meyer
    Level 18
    most beautiful town
    Resolved
    how to add bookmarks?How can I add bookmarks? Thanks for help.
    • 04.04.2021
    • 642views
    • 2comments
    1
  • 김영온
    Level 0
    Kwangmyong
    Under discussion
    How to log in my accountHi! I'd like to log in my account? I tried to log in my account and failed. Please let me know where and how I can set up my password. Thanks. My mail-id is "yokim31@daum.net".
    • 09.01.2021
    • 1058views
    • 1comment
    0
  • slyyx
    Level 15
    New York City
    Question about the task Space Invaders (Part 4/34)
    Games, Level 0, Lesson 6
    Resolved
    Is the use of Random causing the conditions not to be met?The program works as expected, but does not meet the 6th and 7th requirements somehow. Is this because I used a Random object for the new Star(x, y) parameters?
    • 25.05.2022
    • 324views
    • 1comment
    0
  • Brenna Crivello
    Level 6
    Waller
    Question about the task There's never too much of a good thing
    Java Syntax, Level 4, Lesson 8
    Resolved
    I need a little help...I feel a little embarrassed to ask, due to the simplicity of the problem, yet my code isn't working and I can't figure out why. It's printing the opposite of what I want it to print. I ask it to print a string 4 times, it prints it 2 times, and vice-versa. Can anyone help me. Thank you!
    • 23.05.2022
    • 795views
    • 4comments
    0
  • imran khan
    Level 6
    islamabad
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    code is working fine except the last condition number does not fall in the range 1-999help
    • 24.10.2018
    • 1888views
    • 5comments
    0
  • LuisRC
    Level 39
    Gijón
    Question about the task Word search
    Java Core, Level 10, Lesson 10
    Under discussion
    Not validatedHi there, I'm not able to get this task validated. According to it "The list returned by detectAllWords is not the right size!" however when I test it, the size is the right one. Some help please?
    • 21.05.2022
    • 310views
    • 2comments
    0
  • Albert ENG
    Level 6
    Question about the task What's the cat's name?
    Java Syntax, Level 3, Lesson 5
    Under discussion
    What does each line do in this basic codeplease can someone help me to understand what exactly each line does and the sequence of the lines, i want to understand when we run the code which line works first and what does it do. If possible comment before each line like i did for two of them.
    • 21.05.2022
    • 432views
    • 2comments
    0
  • haayden
    Level 18
    United States of America
    Question about the task Space Odyssey Part 3
    Java Syntax, Level 18, Lesson 4
    Archived
    what's wrong?i don't know what else to say here. everything works.
    • 20.05.2022
    • 473views
    • 3comments
    0
  • Brenna Crivello
    Level 6
    Waller
    Question about the task Sum of even numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    I am stuck on this question and I am in need of assistanceI am confused on how I should write this code for some reason. I understand what the code is asking me, yet I don't know what I am doing. I must be overthinking this. Can anyone help me? Thank you and have a great rest of your day!
    • 16.05.2022
    • 820views
    • 5comments
    0
  • haayden
    Level 18
    United States of America
    Question about the task A simple pattern
    Java Syntax, Level 17, Lesson 8
    Resolved
    answerwhy isn't this correct?
    • 17.05.2022
    • 582views
    • 13comments
    0
  • T S
    Level 18
    United States of America
    Question about the task Street and houses
    Java Syntax, Level 6, Lesson 4
    Under discussion
    Code not accepted despite being almost exactly like correct solutionThe verification didn't like my solution here, even though it is almost line-for-line the exact same code as the solution code. Anyone have any ideas? package en.codegym.task.jdk13.task07.task0706; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /*
    • 30.09.2021
    • 754views
    • 3comments
    0
  • Krzysztof Kasperek
    Level 20
    Drammen
    Question about the task Remove duplicate strings
    Java Syntax, Level 6, Lesson 4
    Under discussion
    Failing to pass second requirement, not sure why...I got correct output from the code but I'm failing to pass second requirement. Has anyone got any idea why's that?
    • 16.05.2022
    • 498views
    • 5comments
    0
  • haayden
    Level 18
    United States of America
    Question about the task Just a day of the week
    Java Syntax, Level 17, Lesson 4
    Resolved
    We didn't even go over this.Here we go. AGAIN. Codegym just introduces a function i have NO IDEA how to use, and it wasn't even shown in the TASK ITSELF! All it gave me was a description of the syntax. WHy.
    • 13.05.2022
    • 381views
    • 2comments
    0
  • Bob Gaming101
    Level 14
    Brisbane
    Question about the task Maximum of N numbers
    Java Syntax, Level 6, Lesson 3
    Under discussion
    Does anybody know what I am doing wrong.Pls Help
    • 15.05.2022
    • 352views
    • 1comment
    0
  • J
    Level 41
    Wilson
    Question about the task Archiver (part 13)
    Java Multithreading, Level 7, Lesson 15
    Under discussion
    Why is 3rd condition not passing?I've looked at other questions and tried to correct the code in ways that were suggest by those and it is not passing, still. public List getFileList() throws Exception { if (!Files.isRegularFile(zipFile)) throw new NoSuchZipFileException(); List files = new ArrayList<>();
    • 13.05.2022
    • 656views
    • 7comments
    2
  • haayden
    Level 18
    United States of America
    Question about the task Shallow copy
    Java Syntax, Level 16, Lesson 6
    Resolved
    What am I doing wrong with the function?I cannot figure out what I am doing wrong, I'm just going off what the task gave me and all it was was the function syntax and parameters, so I'm going off what I've learned. If possible, I would like an explanation for the solution, so I can resolve other things, thanks!
    • 13.05.2022
    • 635views
    • 7comments
    0
  • Sakka Mouid
    Level 19
    Hannover
    Question about the task Snake (Part 4/20)
    Games, Level 0, Lesson 1
    Resolved
    Compiler can't find method setCellValueEx(...) , even though i implemented its class !!!
    • 22.04.2022
    • 528views
    • 5comments
    0
  • 1
  • ...
  • 43
  • 44
  • 45
  • 46
  • 47
  • ...
  • 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