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
  • Thasi
    Level 10
    Cape Town
    Question about the task Task about algorithms
    Java Syntax, Level 9, Lesson 11
    Under discussion
    Confused as to what I am getting wrong...Tested it with both numbers/strings only - still works but my code is not verified as correct, where did I go wrong?
    • 08.07.2019
    • 1225views
    • 4comments
    0
  • anupam jha
    Level 7
    Question about the task Sum of the digits of a three-digit number
    Java Syntax, Level 3, Lesson 12
    Resolved
    help plz public static int sumDigitsInNumber (int number) { } what to write inside this method n more importantly why ??? when you write System......print..(method (546))... you are nt done?? why??
    • 05.01.2021
    • 690views
    • 3comments
    0
  • Chandan Thapa
    Level 22
    Dubai
    Question about the task Prices
    Java Core, Level 8, Lesson 11
    Resolved
    how and where am I doing wrong?Any help would be great.
    • 04.01.2021
    • 497views
    • 5comments
    0
  • Dinesh
    Level 7
    Delhi
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Unable to approach in proper wayPlease refer line number 16 tried with real numbers 1.5 and 2.5. It is working with 2.5 and hope if I do so it will work for rest But its a Big O(n) type approach its not so good please help
    • 28.11.2020
    • 708views
    • 10comments
    0
  • Sendhur Muthu
    Level 2
    Mumbai
    Under discussion
    Need to continue my learning quest..I am at level 2..Idont have any more dark matter to move forward..stuck in here ,can you give me a solution..And also i have completed all my free tasks. Moreover I cant afford to buy premium. Need help to finish my quest.
    • 29.04.2020
    • 781views
    • 0comments
    0
  • Jhoal
    Level 22
    Berlín
    Question about the task A list and some threads
    Java Core, Level 6, Lesson 3
    Under discussion
    I don't understand why? Hey guys I have a question. I didn't quite understand why do I have to write the keyword new and the () in SpecialThread - - >> new Thread (new SpecialThread ()); Wouldn't be enough just address SpecialThread and nothing else? Or is it because it is a static class?
    • 05.01.2021
    • 475views
    • 1comment
    0
  • anupam jha
    Level 7
    Under discussion
    variables Cat c = new Cat(); here i created cat variables or objects? yes i initialized the Cat c variable hence its an object....Give ur opinion....Thanks...!
    • 04.01.2021
    • 642views
    • 2comments
    0
  • Liliane Top
    Level 17
    Amsterdam
    Question about the task Snake (Part 11/20)
    Games, Level 0, Lesson 1
    Under discussion
    Again I fail the test but it works in my gameI tried many different thing and it seems to work correctly in my game but I keep failing the test. Someone any idea why??
    • 29.02.2020
    • 1272views
    • 3comments
    0
  • Josephine
    Level 26
    Normal
    Question about the task Request parser
    Java Core, Level 5, Lesson 12
    Under discussion
    Why my third condition is not passing?I am getting correct output.Why my third condition is not passing?I am getting correct output. please help
    • 05.01.2021
    • 655views
    • 1comment
    0
  • Anitamalina
    Level 18
    København
    Question about the task Let's make the code do something useful!
    Java Syntax, Level 9, Lesson 11
    Under discussion
    failing in third requirementwhat am I doing wrong?
    • 04.01.2021
    • 532views
    • 1comment
    0
  • Anitamalina
    Level 18
    København
    Question about the task What's today's date?
    Java Syntax, Level 9, Lesson 11
    Resolved
    JAN. output instead of AUG..My output is JAN. instead of AUG ? :S I don't understand why?
    • 04.01.2021
    • 554views
    • 3comments
    0
  • Isa Musa
    Level 3
    Kano
    Question about the task Square of a number
    Java Syntax, Level 1, Lesson 8
    Resolved
    Sqr method What is my problem or error in this code please? Whenever I compile it it's used to show me : do not change the sqr method The program should match the display task. Please I need more details because I don't understand this sqr method.
    • 03.01.2021
    • 687views
    • 4comments
    0
  • Tay2von
    Level 6
    Oklahoma City
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    Why am I not passing the last task? My code meets all of the requirements and displays correctly. What am I doing wrong?
    • 23.09.2020
    • 797views
    • 2comments
    0
  • Abdelrahman
    Level 5
    Amman
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Resolved
    Need helpI don't know why this is wrong even tho I have been checking it for 30 mins anyone know why?
    • 04.01.2021
    • 967views
    • 1comment
    0
  • Andrei
    Level 41
    Question about the task The early bird gets the worm
    Java Core, Level 6, Lesson 13
    Under discussion
    Requirements are met, data is randomly stored in each thread and displayed, yet not passing verification. Help pls!If I introduce 3 and bing, bang, bong, the results are randomly stored in each list and they vary in storage every time. Yet it is not correct. Furthermore, if I introduce 0 or a negative number, the program terminates immediately. Therefore, what am I doing wrong?
    • 04.01.2021
    • 600views
    • 14comments
    0
  • Jurij Thmsn
    Level 29
    Flensburg
    Question about the task Cat and Dog objects: 50,000 each
    Java Syntax, Level 6, Lesson 5
    Resolved
    passed task, but nothing displayed?I passed the task but on IntelliJ, nothing is displayed when i run the code ... Any explanations? Thanks in advance :)
    • 04.01.2021
    • 412views
    • 2comments
    0
  • Justin Johnson
    Level 31
    Clearwater
    Question about the task Request parser
    Java Core, Level 5, Lesson 12
    Under discussion
    Can someone tell me why I am not satisfying the tasks I am getting the correct output, but it will not verify. Can anyone help me please?
    • 25.01.2020
    • 1049views
    • 1comment
    0
  • Massimo Lorenzi
    Level 2
    Milan
    Under discussion
    richiamare una classe nel main Perche quando creo nome =new name non me lo riconosce ?
    • 20.04.2020
    • 922views
    • 0comments
    0
  • hidden #10602322
    Level 3
    Under discussion
    hey! does we require any cost to complete this whole coure tell me level up to which I can learn free
    • 20.04.2020
    • 1078views
    • 0comments
    0
  • NOBODY
    Level 5
    Question about the task The required number
    Java Syntax, Level 2, Lesson 5
    Under discussion
    everyonewhy is it too easy?? hahaha
    • 08.04.2020
    • 1005views
    • 0comments
    0
  • Henry Yao
    Level 22
    Pasadena
    Question about the task Overloading constructors
    Java Core, Level 5, Lesson 12
    Under discussion
    What's wrong? tried many times !! tired!!!I have no ideas now, Can someone give me a hand ? Thanks,
    • 20.04.2020
    • 1099views
    • 1comment
    0
  • Rafal
    Level 16
    Bialystok
    Under discussion
    Pomocy.. sortowanie to najgorsza rzecz w programowaniu..package pl.codegym.task.task07.task0728; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; /* W kolejności malejącej */ public class Solution { public static void main(String[] args) throws Exce
    • 23.04.2020
    • 769views
    • 0comments
    0
  • AnnemiekFF
    Level 41
    Breda
    Question about the task Recursion for mathematical expressions
    Java Collections, Level 4, Lesson 2
    Under discussion
    Why is this failing on recursive and displaying result?I have tweaked and tested and tweaked. As far as I can see this gives the correct result every time for everything I could think of to test. Yet for some reason it doesn't validate. Does anybody know what else I can do? This is no longer a programming problem imo but a validator problem. Every testc
    • 24.04.2020
    • 915views
    • 0comments
    0
  • KingBiggie
    Level 7
    Bodegraven
    Under discussion
    Unable to find my "solution" field in IntelliJ IDEAHey all, Since I've switched from the web module to the InteliJ software I've been unable to see my solutions. Obviously this isn't a problem when you don't make mistakes. But when I do make a mistake I'd love to be able to see the output. It used to point me in a direction of what I might have done
    • 16.04.2020
    • 845views
    • 1comment
    0
  • Vid Bumz
    Level 4
    Torino
    Under discussion
    Course Language change? OmgHello everybody I started to learn Java (I am already a developer in other languages) and I found it really helpful because it was in Italian, but something strange happened when I leveled up the second level is in English language... If I return to the previouse lesson (Leven 1 it's in Italian) Is
    • 25.04.2020
    • 656views
    • 0comments
    0
  • Wolf Hunter
    Level 5
    Mosul
    Under discussion
    Why We Can't Freely Code To Practice? I Think It's Only Supporting For Task's Playground That They Gave Us There's No Option To Code Whatever You Like For (Practicing)! Or I Can't Find It? thanks!
    • 26.04.2020
    • 849views
    • 0comments
    0
  • DeltaPilot12
    Level 24
    Berlin
    Question about the task Request parser
    Java Core, Level 5, Lesson 12
    Under discussion
    Not passed: The program should call the alert method with the double parameter if the obj parameter can be correctly converted to a double.Hey guys, I know, I did this task overly complicated :) But I wanted to try to get the variable name and value from every variable displayed in the url. And it´s working! :):):) Therefore I wrote a getVariableValue method, which returns an Object. This object is either a Double or a String. Now I wa
    • 27.04.2020
    • 897views
    • 0comments
    0
  • JianQiu Hwang
    Level 35
    Washington
    Question about the task Shortener (4)
    Java Collections, Level 6, Lesson 15
    Under discussion
    Why does `toString(32)` wrong?Why does `toString(32)` wrong? 26 base-32 digits (32^26) exactly equals 2^130 new BigInteger(130, new SecureRandom()).toString(32); And the answer says "Re-read the task conditions and use your favorite search engine. You should end up with something like:" new BigInteger(130, new SecureRandom
    • 27.04.2020
    • 901views
    • 0comments
    0
  • LucGar
    Level 22
    Bilbao
    Question about the task CRUD
    Java Core, Level 7, Lesson 10
    Under discussion
    I solve it, but i have a doubtI put the -c name m "04 12 1991" -u 0 lucas m "05 12 2000" -d 0 -i 0 in edit configuration, program arguments. but the program only print this in the console, does nothing else. then, what is the utilily of used this?
    • 28.04.2020
    • 767views
    • 0comments
    0
  • LennyMan
    Level 25
    Lucca
    Under discussion
    Why there is not lessons about GUI and swingThe codegym it's pretty complete for start learning java, now that I'm at level 18 a just realized that we dont gonna learn about GUI in this course. I'm just wondering why? if there is a specific reason. Thank you
    • 04.01.2021
    • 462views
    • 0comments
    0
  • 1
  • ...
  • 100
  • 101
  • 102
  • 103
  • 104
  • ...
  • 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