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
  • Rex
    Level 3
    Columbus
    Under discussion
    Is Apple Silicon Compatible with This Program?I already purchased a $50 membership, and immediately afterwards the site has me download Intellij IDEA, a software for coding in Java. Although there is a download option for Apple Silicon, it does not look like the codegym plugin works at all. HELP!!
    • 16.08.2021
    • 474views
    • 1comment
    1
  • Anitamalina
    Level 18
    København
    Question about the task Task about algorithms
    Java Syntax, Level 9, Lesson 11
    Resolved
    NullPointerException at line18I don't understand why. It works fine in my IDE - but not on codeJudge?
    • 05.01.2021
    • 993views
    • 6comments
    0
  • jerry
    Level 16
    Earth C-137
    Question about the task One large array and two small ones
    Java Syntax, Level 7, Lesson 4
    Resolved
    shorty A quick look on whats wrong here ? OUTput is correct except for "each value on a new line" QUESTION: How to guide an array to print elements on a new line? its just randomly happens task to task. lol google solutions " list.forEach(System.out::println); " and " for (String element : list) {
    • 16.08.2021
    • 590views
    • 2comments
    0
  • Indranil Chakraborty
    Level 3
    United Kingdom
    Question about the task Repetition is the mother of all learning
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Why is this not compiling🙃🙃🙂🙃🙂🙃🙂🙃🙂
    • 15.08.2021
    • 719views
    • 1comment
    0
  • Anitamalina
    Level 18
    København
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Resolved
    Can't pass the last requirementHey, I wonder what is wrong with my code. It gives the right result as far as I can tell, but I don't pass the last requirement. Anyone who can help me ?
    • 13.08.2021
    • 733views
    • 7comments
    0
  • Gytis Laukaitis
    Level 6
    Marijampole
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    What's wrong ?Console input 2.5. Console output green.
    • 13.08.2021
    • 612views
    • 2comments
    0
  • Anitamalina
    Level 18
    København
    Question about the task Big salary
    Java Syntax, Level 10, Lesson 11
    Resolved
    I don't understand why this isn't accepted?What am I doing wrong? :)
    • 07.02.2021
    • 754views
    • 1comment
    0
  • jerry
    Level 16
    Earth C-137
    Question about the task StringHelper class
    Java Syntax, Level 6, Lesson 8
    Resolved
    WhyResultHad to delete some parts of the solution so i can post here. Question is solved after just 27 tries but still have some questions = 🤡 1🤡 what is with String result, whats the purpose if anyway result *= s. 2🤡 why first i = 1 and second i = 0 ? it gives same 5 outputs with first and second i (
    • 13.08.2021
    • 580views
    • 2comments
    0
  • Edward Rickers
    Level 15
    Washington
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Under discussion
    Don't know how to set the max to nothingDo I need to initialize the max to something else? Setting it to zero doesn't work either. Don't know how to do this without making another method.
    • 12.08.2021
    • 482views
    • 2comments
    0
  • BigRatBaby
    Level 20
    Washington
    Question about the task Chicken factory
    Java Core, Level 4, Lesson 6
    Under discussion
    NullPointerExceptionI'm getting a null pointer exception and i dont know why. Any help is appreciated. Thank you.
    • 13.08.2021
    • 523views
    • 1comment
    0
  • AlfredW
    Level 23
    Denver
    Question about the task Number algorithms
    Java Core, Level 10, Lesson 10
    Under discussion
    I decided to dig in and try to understand the code everyone seems to be using to pass this.I am pretty sure that this will pass verification once I change the return to the correct result array. I really wanted to understand what this code did before I used it to pass verification. I dug into it as well as I could and tried to parse out how it was working. I had already written my own cod
    • 10.11.2020
    • 572views
    • 5comments
    0
  • Mateusz
    Level 31
    Gdańsk
    Question about the task Thread priorities
    Java Multithreading, Level 8, Lesson 6
    Under discussion
    What's wrong with this solution?Output is good, can anyone tell me what's wrong?
    • 12.08.2021
    • 526views
    • 1comment
    0
  • Tamas Horcsak
    Level 18
    Leeds
    Question about the task Different methods for different types
    Java Core, Level 5, Lesson 12
    Under discussion
    my solution worked fine but it doesn't pass here (:import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; /* Different methods for different types */ public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(Sy
    • 12.08.2021
    • 802views
    • 2comments
    0
  • Rex
    Level 3
    Columbus
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Under discussion
    I entered the right solution, but that darn s is throwing me off public static void print(String s) { System.out.println(s); why s, why s, why s? could it just as easily have been some other letter? like: public static void print(String f) { System.out.println(f); It is so strange to me that this wasn't explained.
    • 12.08.2021
    • 599views
    • 2comments
    0
  • Anne Kooijman
    Level 2
    Amsterdam
    Question about the task Amigo is very smart
    Java Syntax, Level 0, Lesson 2
    Under discussion
    Amigo is very smart VS Amigo is real smart?How come this did not verify correctly for the output "Amigo is real smart"? According to what im reading for the checks and balances (nr of chars, first word and last word) it should have worked too.
    • 04.01.2021
    • 617views
    • 5comments
    0
  • Indranil Chakraborty
    Level 3
    United Kingdom
    Question about the task Let's change the code
    Java Syntax, Level 1, Lesson 4
    Resolved
    What is wrong here 🙃String s = help System.out.println(s)
    • 11.08.2021
    • 356views
    • 2comments
    0
  • anupam jha
    Level 7
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Under discussion
    stringwhich string it is about?? there r three in the main method.
    • 15.10.2020
    • 719views
    • 5comments
    0
  • Peter Gray
    Level 20
    Compiegne
    Question about the task Mercantile intentions
    Java Syntax, Level 3, Lesson 12
    Under discussion
    Every single Java course. Why?!Why does every Java course has to include exercises with material unknown to the student? First modulo, now loops. If this continues I'm gonna set up a blog with solutions to those particular tasks.
    • 17.12.2019
    • 1379views
    • 6comments
    1
  • Edward Rickers
    Level 15
    Washington
    Question about the task Display numbers in reverse order
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Why am I failing the first requirementI tried simplifying the initialization and it still runs and reverses but doesn't pass that requirement.
    • 09.08.2021
    • 447views
    • 1comment
    0
  • Edward Rickers
    Level 15
    Washington
    Question about the task Corrections are needed
    Java Syntax, Level 10, Lesson 11
    Under discussion
    Why is it outputting null for the first one?Changing the size and the initial i value did not correct it.
    • 09.08.2021
    • 341views
    • 1comment
    0
  • Indranil Chakraborty
    Level 3
    United Kingdom
    Question about the task Part of a calculator
    Java Syntax, Level 2, Lesson 2
    Resolved
    A bit of help please = b
    • 04.08.2021
    • 408views
    • 5comments
    0
  • skalskif
    Level 23
    Poland
    Question about the task Number algorithms
    Java Core, Level 10, Lesson 10
    Under discussion
    Does anyone know how correct solution works?I have no idea how to do it by myself, I tried everything, but algorithm is still too slow, so I looked up correct solution and I don't understand it at all. Is there anyone who understands how it works and could explain it to me? Here is the code: package com.codegym.task.task20.task2025; import
    • 07.08.2021
    • 410views
    • 2comments
    0
  • WatWat
    Level 9
    Vancouver
    Question about the task Countdown
    Java Syntax, Level 7, Lesson 12
    Under discussion
    This is an odd task at this stage.Threads? There is too big of gap in my knowledge to complete this task. I know as programmers we are supposed to research on our own (which I do) but I feel there is some prerequisites I need to learn in order to successfully understand not only the task but "Threads" as well. If I'm not mistaken, T
    • 15.10.2018
    • 2688views
    • 11comments
    4
  • Evgen
    Level 23
    Question about the task Word search
    Java Core, Level 10, Lesson 10
    Under discussion
    need helpI test my code different words and arrays and get correct output, but the last condition is still unreached
    • 27.07.2021
    • 962views
    • 8comments
    0
  • Brad Reed
    Level 19
    Hartford
    Question about the task Controlling body weight
    Java Syntax, Level 6, Lesson 8
    Under discussion
    statement, not question:Read the task VERY carefully, I failed a bunch cuz I misread the formula, dont be like me. (yes I got it in the end after I realized I copied the BMI formula wrong)
    • 26.06.2020
    • 556views
    • 2comments
    0
  • Kobi
    Level 10
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Why doesn't work?Why doesn't work?
    • 04.08.2021
    • 898views
    • 3comments
    0
  • David
    Level 5
    Question about the task Three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Display the result but fails[Failed] "The program should display the ordinal number of the number that is different from the others." package com.codegym.task.task04.task0424; /* Three numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { // Write your
    • 26.07.2021
    • 535views
    • 3comments
    0
  • Abishai Mumba
    Level 2
    Question about the task A variable on our screen
    Java Syntax, Level 1, Lesson 3
    Under discussion
    Can't figure it outWhat's wrong with this String name="Amigo"; System.out.println ("name");
    • 23.02.2019
    • 1304views
    • 3comments
    0
  • Guadalupe Gagnon
    Level 37
    Tampa
    Question about the task Tracking changes
    Java Core, Level 9, Lesson 11
    Resolved
    Has anyone solved this?I get the same results as they do with their examples, at least I think i do, the requirements are a convoluted mess. Anyone have any suggestions?
    • 20.12.2018
    • 2246views
    • 6comments
    1
  • TheLordJackMC
    Level 39
    Princeton
    Under discussion
    why is my accuracy random?I've completed almost every task in under 3 attempts, but my accuracy score keeps changing randomly. why is this happening?
    • 06.08.2021
    • 417views
    • 4comments
    0
  • 1
  • ...
  • 61
  • 62
  • 63
  • 64
  • 65
  • ...
  • 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