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
  • Vincent
    Level 2
    Under discussion
    I have ran out of dark matter, and cannot afford a premium subscription. What should I do?I have ran out of dark matter, and cannot afford a premium subscription. What should I do?
    • 7/15/20
    • 460views
    • 1comment
    0
  • Seferi
    Level 22
    Question about the task Ten cats
    Java Syntax, Level 9, Lesson 11
    Resolved
    Why doesn't line 50 work?I get an error on IDE saying required type 'Cat' , given 'Object'. I commented out the line so I could submit the question...
    • 7/15/20
    • 851views
    • 2comments
    0
  • Maxine Hammett
    Level 19
    San Diego
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Failing to pass task 3 and 4I'm calling the removeItemFromMapByValue method in my removeFirstNameDuplicates method but it's not working. I'm completely stumped on this. Your help is appreciated.
    • 7/15/20
    • 822views
    • 4comments
    0
  • Darek
    Level 41
    Katowice
    Question about the task Build a WHERE query
    Java Multithreading, Level 2, Lesson 9
    Under discussion
    What is wrong?Hi. Hi. What is wrong? Validator is impermeable: The getQuery method must return a string built according to the rules specified in the task conditions. Be sure that the getQuery method works correctly if the passed Map has null values. I check if params is null if it's going out. I set up all the
    • 7/15/20
    • 506views
    • 2comments
    0
  • Shaik Azharuddin
    Level 20
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Under discussion
    Why is it failingmy code is working perfectly in Eclipse but not in IntelliJ Could somebody tell me what is the reason.
    • 7/15/20
    • 452views
    • 1comment
    0
  • Marek Pasierbek
    Level 9
    Poznań
    Question about the task Census
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Any idea what is wrong?I don't know why is wrong?
    • 7/15/20
    • 561views
    • 2comments
    0
  • Ashish RajAnand
    Level 13
    Bhilai
    Question about the task HashMap of cats
    Java Syntax, Level 8, Lesson 3
    Resolved
    can any one please explain what happened in the foreach loop mean how at the place of cat object address how uppercase String will print Can any one explain how toString method call ?
    • 3/28/20
    • 1542views
    • 6comments
    0
  • hidden #10589341
    Level 19
    Question about the task CRUD
    Java Core, Level 7, Lesson 10
    Under discussion
    plz help me !!!!!!I can not pass last condition. And i can't find fault. Plz help me !! Thank u a lot !!
    • 3/18/20
    • 1125views
    • 3comments
    0
  • Riley Terwilliger
    Level 4
    Asheville
    Question about the task Maximum of four numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    im a little confusedso originally i had a plan to ask if there was an easier way to write this out, but when i got down to the last "else if" statement it displays 2 numbers and im not sure what the problem is.
    • 7/12/20
    • 529views
    • 3comments
    0
  • dhanush
    Level 30
    Chennai
    Question about the task One large array and two small ones
    Java Syntax, Level 7, Lesson 4
    Resolved
    helpit's giving me error array index out of bound :(
    • 6/4/20
    • 572views
    • 2comments
    2
  • Brad Reed
    Level 19
    Hartford
    Question about the task Method in a try-catch
    Java Syntax, Level 9, Lesson 11
    Resolved
    Help, ive broken my brain!Ok I simply may have been at all this for too long today, but I cannot get this to work in anyway whatsoever. I've tried re-writing code based on previous help questions/answers and none of it has worked. not even making changes marked "solution". so I wrote it this way which I thought would be fine
    • 7/8/20
    • 1062views
    • 5comments
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task Word search
    Java Core, Level 10, Lesson 10
    Resolved
    Odd result?I added a few more words to search, so my main method looks like this: public static void main(String[] args) { int[][] wordSearch = new int[][]{ {'f', 'd', 'e', 'r', 'l', 'k'}, {'u', 's', 'a', 'm', 'e', 'o'}, {'l', 'n', 'g', 'r', 'o', 'v'},
    • 3/23/20
    • 976views
    • 1comment
    2
  • Vincent
    Level 2
    Under discussion
    I have ran out of dark matter, and cannot afford a premium subscription. What should I do?I have ran out of dark matter, and cannot afford a premium subscription. What should I do?
    • 7/14/20
    • 500views
    • 2comments
    0
  • Tayyab Mubeen
    Level 16
    Lahore
    Question about the task A scary fairy tale
    Java Syntax, Level 9, Lesson 11
    Resolved
    what does it mean wolf ate little...???? help please
    • 10/23/18
    • 2748views
    • 8comments
    1
  • Manish Sinha
    Level 1
    london
    Resolved
    not able to explore/understand why program is giving different output. import java.io.*; public class Solution implements Serializable { public static class A { String nameA = "A"; //static String nameA = "A"; public A(){ } public A(String nameA) { this.nameA += nameA; } } public class B extends A implem
    • 7/13/20
    • 610views
    • 4comments
    0
  • andy 6473
    Level 9
    Bangalore
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Under discussion
    helphelp
    • 7/10/20
    • 523views
    • 3comments
    0
  • andy 6473
    Level 9
    Bangalore
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Under discussion
    can some one explain the task requirement of the program. even thoough i am getting the output , i am unble to clear can some one explain the task requirement of the program. even thoough i am getting the output , i am unble to clear
    • 7/10/20
    • 467views
    • 2comments
    0
  • Finnegan Lukenoff
    Level 4
    Chesterfield
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Under discussion
    Why am I getting an extra number at the end of my loop?I've been staring at this for hours and cannot figure out why it prints an extra number at the end of each line. Any help would be appreciated! public class Solution { public static void main(String[] args) { //write your code here int i, j; for (i = 1; i <= 10; i++)
    • 7/14/20
    • 490views
    • 1comment
    0
  • Marek Pasierbek
    Level 9
    Poznań
    Question about the task Min and max in arrays
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Why is not OK?Code is OK, program works.
    • 7/10/20
    • 666views
    • 5comments
    0
  • Raj Mishra
    Level 2
    India
    Question about the task Month number
    Java Syntax, Level 8, Lesson 11
    Under discussion
    I have used collections here. HashMap . But still its failing. I have used collections here. HashMap . But still its failing.
    • 7/12/20
    • 691views
    • 7comments
    0
  • Sanjeevkumar
    Level 22
    Mumbai
    Question about the task Sorting even numbers from a file
    Java Core, Level 3, Lesson 11
    Under discussion
    How to print something? lol!I tried a lot but it still ah mesh. it compiles without an error and prints nothing just blank help me to overcome this ,thanks in advance!
    • 7/9/20
    • 492views
    • 2comments
    0
  • Erin Garner
    Level 5
    Greenville
    Question about the task More conversions
    Java Syntax, Level 3, Lesson 8
    Under discussion
    Please help me I've hit a road block.I have tried multiple solutions to this. I get the output of "2" but it still says it's wrong. Please help
    • 7/13/20
    • 521views
    • 2comments
    0
  • Mr Jake
    Level 2
    Kolkata
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Under discussion
    the loop i didn't understand the loop
    • 7/12/20
    • 820views
    • 3comments
    0
  • Jack
    Level 8
    Brussels
    Question about the task Escaping characters
    Java Syntax, Level 3, Lesson 6
    Resolved
    what did i write wrong?Hi guys Can please tell me what's wrong with my code? looks ok in the output, what did i miss? thanks
    • 7/12/20
    • 846views
    • 7comments
    0
  • Angel Li
    Level 18
    Fremont
    Question about the task Hello, StarCraft!
    Java Syntax, Level 3, Lesson 4
    Resolved
    Why does it say illegal start of expression?How do I fix the problem; it says illegal start of expression when I run it.
    • 5/31/20
    • 699views
    • 4comments
    1
  • Erin Garner
    Level 5
    Greenville
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Please help, what am I doing wrong?It keeps saying it needs ';' at line 11, position 221. I've double checked everything and made sure that there was a ';' after everything that needed it.
    • 7/11/20
    • 686views
    • 3comments
    0
  • Johannes
    Level 27
    Centurion, Pretoria
    Question about the task So, let's... compare
    Java Multithreading, Level 4, Lesson 2
    Under discussion
    So I passed this. But have no idea why or how it works.I don't even understand where the "super" comes in here ? It wasn't a class that was extended from a super class ? public static class A implements Serializable { protected A clone() throws CloneNotSupportedException { return (A) super.clone(); } }
    • 5/4/20
    • 935views
    • 1comment
    0
  • Rebekah H
    Level 8
    Gothenburg
    Question about the task Improving functionality
    Java Syntax, Level 5, Lesson 12
    Under discussion
    Returns the right answer but does not pass.So this program returns "Minimum = -79" but does not pass the following two requirements. 1. "The class must have a public static min method that takes 5 int arguments." 2. "The min method must return the minimum of the 5 passed numbers. If there are several minimum numbers, return any of them." C
    • 7/9/20
    • 756views
    • 3comments
    0
  • Seferi
    Level 22
    Question about the task Software update
    Java Syntax, Level 8, Lesson 11
    Resolved
    Works on the IDE but can't pass the testAny help is appreciated..
    • 7/9/20
    • 554views
    • 6comments
    0
  • Mr Jake
    Level 2
    Kolkata
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Under discussion
    please explain meplease explain me where am making a mistake
    • 7/13/20
    • 542views
    • 2comments
    0
  • 1
  • ...
  • 169
  • 170
  • 171
  • 172
  • 173
  • ...
  • 374
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 © 2026 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2026 CodeGym