CodeGym
Autumn Discount
CodeGym University
Learning
Course
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
  • matemate123
    Level 50
    Kraków
    Question about the task Unique substrings
    Java Collections, Level 9, Lesson 9
    New
    I don't see where is mistakeI think my logic is good but I suppose something I don't see is wrong
    • 22.11.2023
    • 1view
    • 0comments
    0
  • catalin1989
    Level 25
    Question about the task Introducing tags
    Java Core, Level 9, Lesson 11
    New
    I don't quite fully understant the requirements.Here is what I have done. 1. I am reading the file and appending it to a string builder. 2.I am checking in a while loop is there is a beginning tag. 3.I create a substring from the beginning tag to the ending tag. 4. I check if there is another beginning tag in my substring in a while loop. 4.
    • 22.11.2023
    • 30views
    • 1comment
    0
  • matemate123
    Level 50
    Kraków
    Question about the task Aggregator (part 5)
    Java Collections, Level 8, Lesson 15
    Resolved
    WTF? The same code like solutionThree red buttons? What the hell is going on here? I think this project was build untidy...
    • 17.11.2023
    • 27views
    • 4comments
    0
  • Anonymous #11417233
    Level 6
    Baltimore
    Under discussion
    How do I unlock tasks in intellij?? Do I need intellij for the entire course??Hey, I recently purchased the pro subscription and downloaded intellij. I am not always using my personal laptop so I am not always able to use intellij. I have 2 questions about the plugin. The first is: how do I unlock the tasks in intellij? The tasks are showing but most of them are locked after
    • 20.11.2023
    • 12views
    • 2comments
    0
  • Erhan H.
    Level 23
    Istanbul
    Question about the task Writing to an existing file
    Java Collections, Level 2, Lesson 2
    Under discussion
    Server drives me crazy !It works locally. I don't understand what is the problem with this server?
    • 10.12.2019
    • 909views
    • 4comments
    0
  • FelixUjo
    Level 25
    Gijón
    Question about the task Counting words
    Java Core, Level 9, Lesson 5
    Resolved
    I think the problem is in the blanks but I don't know what else to try.I think the problem is in the blanks but I don't know what else to try.
    • 18.11.2023
    • 44views
    • 4comments
    0
  • catalin1989
    Level 25
    Question about the task Tracking changes
    Java Core, Level 9, Lesson 11
    Resolved
    Can't pass final point. Can I get a hint?!Won't pass final validation point. Be sure that the lines list has the ADDED label with the required lines in the correct places. I have been reading about what others have done. I have tried with this inputs: Here is an example, lets say file one contained: line one is going to be the same line tw
    • 19.11.2023
    • 19views
    • 2comments
    0
  • Angel Stefan Arjoca
    Level 26
    Bucharest
    Question about the task What's in the folder?
    Java Collections, Level 1, Lesson 4
    Resolved
    Total folders??? Any hint!? the total folders request is not passing and i don't no what to do anymore 😣
    • 14.09.2020
    • 476views
    • 3comments
    1
  • catalin1989
    Level 25
    Question about the task Counting words
    Java Core, Level 9, Lesson 5
    Resolved
    I don't understand why it doesen't work.What I am doing wrong? 1. I append all the file content to a string builder. 2. I replace all the spaces of the builder.toString with a punctuation. 3. I split the string using the "\\p{Punct}" regex into an aray. 4. I compare all the resulting string with the "world" and increment when I have a mat
    • 17.11.2023
    • 36views
    • 3comments
    0
  • FelixUjo
    Level 25
    Gijón
    Question about the task Adapting multiple interfaces
    Java Core, Level 9, Lesson 3
    Resolved
    I don't know what else to try.I don't know what else to try.
    • 13.11.2023
    • 41views
    • 3comments
    0
  • Vijay Anand Bukkuri
    Level 2
    Suri
    Question about the task "I'm here about the job..."
    Java Syntax, Level 2, Lesson 0
    Under discussion
    assign different valueswhat's intValue? (1,how? numericValue? (17 ,how?) size? (8,how?) number? (22, how?)
    • 07.03.2023
    • 116views
    • 1comment
    0
  • christopher freund
    Level 6
    Houston
    Question about the task Reverse
    Java Syntax, Level 6, Lesson 3
    Under discussion
    It seems they want a specific methodfor the reverse order, method is: for (int i = 0; i < data.length; i++) { System.out.println(data[i]); } This evaluates and runs flawlessly in intelliJ IDEA, but doesn't evaluate in the mobile app version of CodeGym. They specifically want you to set up your for loop
    • 12.11.2023
    • 33views
    • 2comments
    0
  • Jen P
    Level 26
    Question about the task Caesar cipher
    Java Collections, Level 2, Lesson 4
    Under discussion
    Is online test mechanism wrong ? I always got "Under no circumstances should null be returned", even though my local test got exactly the same correct result Hi guys, I constantly got the same "Under no circumstances should null be returned" error, even though I run the main method to do local test and got exactly the same test result, i,e : "Hello Amigo #@)₴?$0" Which part could I be wrong ??
    • 24.08.2019
    • 1206views
    • 5comments
    0
  • catalin1989
    Level 25
    Question about the task Prices
    Java Core, Level 8, Lesson 11
    Resolved
    Am I overcomplicating things?My question is this. Am I overcomplicating things?I read some simpler solutions and I can adapt. I have tried this code on my computer and it works as the tasks say but I noticed that I tend to overcomplicate the code.
    • 13.11.2023
    • 38views
    • 5comments
    0
  • Andrei
    Level 41
    Question about the task Numeral system converter
    Java Multithreading, Level 10, Lesson 2
    Under discussion
    This exercise is supposed to be of medium difficulty, but this is the solution proposed by the mentor:It's just becoming ridiculous... public static Number convertNumberToOtherNumberSystem(Number number, NumberSystem expectedNumberSystem) { checkDataIsValid(number); BigInteger result = to10NumberSystem(number); return from10TOExpectedNumberSystem(result, expectedNumberSy
    • 27.05.2021
    • 350views
    • 3comments
    1
  • Justin Johnson
    Level 31
    Clearwater
    Question about the task Restaurant (part 14)
    Java Multithreading, Level 9, Lesson 15
    Under discussion
    I dont understand what is wrongif anyone could help me with these two conditions, I would really appreciate it. Thank you.
    • 29.09.2020
    • 307views
    • 3comments
    1
  • Jaime Padilla
    Level 30
    Chandler
    Question about the task HTML Editor (part 9)
    Java Multithreading, Level 8, Lesson 15
    New
    My MenuHelper was missing all of the method contents that were supposed to be added last lesson.If you keep failing - The initMenuBar() method must use MenuHelper to initialize the menu in the following order: File, Edit, Style, Align, Color, Font, and Help. You need to view the solution and add in the additional content that was added to the MenuHelper class
    • 11.11.2023
    • 12views
    • 0comments
    0
  • FelixUjo
    Level 25
    Gijón
    Question about the task Rounding numbers
    Java Core, Level 8, Lesson 11
    Under discussion
    I don't know what to doI think I'm missing something
    • 05.11.2023
    • 40views
    • 3comments
    0
  • Anonymous #11418252
    Level 15
    Question about the task Path update
    Java Syntax, Level 9, Lesson 3
    Under discussion
    What's wrong with my code?Hello! My solution isn't validate from the compiler. Why? Thanks a lot!
    • 11.11.2023
    • 17views
    • 2comments
    0
  • Anonymous #11168903
    Level 3
    Elizabeth
    Question about the task School or college
    Java Syntax, Level 3, Lesson 4
    Under discussion
    It looks like it's done right, but I assume the curly braces not located correctly. PLEASE HELPIt looks like it's done right, but I assume the curly braces not located correctly. PLEASE HELP. I dont know what else to do to satisfy 5."If the age is less than 6, then don't display anything". Everything else works. I tried not to put anything in 21st lane, but same result comes out..
    • 29.11.2022
    • 281views
    • 2comments
    0
  • Alana Robinson
    Level 4
    United States of America
    Question about the task School or college
    Java Syntax, Level 3, Lesson 4
    Under discussion
    In this task I keep getting an error message. I'm confused where I should put the curly braces.In this task I keep getting an error message. I'm confused where I should put the curly braces.
    • 10.05.2022
    • 507views
    • 3comments
    0
  • Karthik .R
    Level 3
    India
    Question about the task Reading and converting strings
    Java Syntax, Level 2, Lesson 8
    Under discussion
    how to add lines from keyboard??what does that mean?? what is scanner? why to use that??
    • 08.01.2023
    • 190views
    • 1comment
    0
  • Evghenii Seremet
    Level 41
    London
    Question about the task HTML Editor (part 13)
    Java Multithreading, Level 8, Lesson 15
    Resolved
    I must be doing something wrong, can someone point what is the issue? thankscode from TextEditMenuListener class: public void menuSelected(MenuEvent menuEvent) { JMenuBar jMenuBar = (JMenuBar) view.getContentPane().getComponent(0); for(int i=2; i<6; i++) { JMenu jMenu = jMenuBar.getMenu(i); for (Component item : jMenu.getMenuCompo
    • 24.12.2019
    • 1216views
    • 3comments
    1
  • Artur Svvvskyi
    Level 9
    Geneva
    Under discussion
    how to reach the next task without a task menu navigation?how to reach the next task without a task menu navigation? it takes some time to click the bottom and search for the next task in the menu
    • 08.11.2023
    • 19views
    • 1comment
    0
  • Dương Tiến Đạt
    Level 41
    Ha Noi City
    Question about the task Plants vs Zombies
    Java Multithreading, Level 8, Lesson 10
    Resolved
    Where to put arriveAndDeregister()?Can someone tell me where to phaser.arriveAndDeregister()? I tried every place possible and still failed. The validator is really racking by brain.
    • 10.10.2020
    • 437views
    • 6comments
    0
  • Djole
    Level 41
    Belgrade
    Question about the task Mastering switch
    Java Multithreading, Level 8, Lesson 2
    Resolved
    output matches condition, so where is the catch? public static void switchTest(Enum obj) { // Add your code here String s = obj.getClass().getSimpleName(); switch(s){ case "E1": System.out.println(String.format("It's %s.%s", s, obj.name())); break; case "E2":
    • 14.05.2019
    • 1218views
    • 3comments
    2
  • Jesú
    Level 4
    Madrid
    Resolved
    I don't understand this about Strings and equality.I think I found a contradiction. In JavaSyntaxZero Level 3 Lecture 6, this is said about strings: However, in the previous lecture, it shows two strings with the exact same text, having different references that point to memory: Could somebody explain why the strings with identical text have diff
    • 07.11.2023
    • 21views
    • 3comments
    0
  • Jonas
    Level 41
    Vilnius
    Question about the task Archiver (part 17)
    Java Multithreading, Level 7, Lesson 15
    Under discussion
    Please helpIt says: "The method adds new files to the archive incorrectly." I don't know how to do it
    • 31.05.2020
    • 383views
    • 3comments
    0
  • Justin Smith
    Level 41
    Greenfield, USA
    Question about the task Archiver (part 15)
    Java Multithreading, Level 7, Lesson 15
    Resolved
    Extraction code not passing validationI felt a little like shooting in the dark on this task since we haven't been given an example of code to extract a file from a Zip yet. But I assumed the copyData method would be used for that. I googled a few options and it seemed they used code similar to copyData with a few other bits. I tried to
    • 24.04.2022
    • 604views
    • 5comments
    0
  • Mike S
    Level 28
    Saint Louis
    Question about the task Racer (Part 3/28)
    Games, Level 0, Lesson 5
    Under discussion
    1,000 Exceptions, but Code Displays FineI felt like I had all of the steps worked out and the code made sense to me. But when I ran and verified... it blew up in my face. A lot of exceptions and red font on the console, not a single green check, and not even a coherent-looking grid. Any hints to help me advance on this one?
    • 04.01.2023
    • 289views
    • 5comments
    3
  • 1
  • 2
  • 3
  • ...
  • 368
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Game Projects
  • 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
Programmers Are Made, Not Born © 2023 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2023 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.