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
  • hidden #10625598
    Level 23
    Question about the task Five winners
    Java Syntax, Level 8, Lesson 11
    Under discussion
    why exactly does this task fail?i dont get it?
    • 18.07.2020
    • 413views
    • 2comments
    0
  • Angelo Spampinato
    Level 18
    Boston
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Resolved
    Not Sure Why This is FailingCould anyone help me with understanding why the 4th requirement is failing? I think I'm checking for it and should be good.
    • 27.05.2020
    • 972views
    • 9comments
    2
  • Raj Mishra
    Level 15
    India
    Question about the task Software update
    Java Syntax, Level 8, Lesson 11
    Under discussion
    Dont understand why its failing . My 2 validations are failing.Dont understand why its failing . My 2 validations are failing.
    • 18.07.2020
    • 485views
    • 2comments
    0
  • Tahsin Anam
    Level 12
    Helsinki
    Question about the task Task about algorithms
    Java Syntax, Level 8, Lesson 11
    Under discussion
    The last requirement is not correct, why?I capitalized and trimmed all words, but still not correct! where is the mistake here?
    • 18.07.2020
    • 533views
    • 2comments
    0
  • Wei Cui
    Level 39
    Newark
    Question about the task HTML Editor (part 11)
    Java Multithreading, Level 8, Lesson 15
    Resolved
    keep
    • 09.04.2020
    • 914views
    • 3comments
    0
  • Riya
    Level 15
    Indore
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Under discussion
    not satisfies 3rd and 4th conditionmy code gives output correct
    • 18.07.2020
    • 374views
    • 2comments
    0
  • Aashita Saxena
    Level 4
    Bhopal
    Question about the task Price of apples
    Java Syntax, Level 4, Lesson 1
    Under discussion
    Why Apple.addPrice needed in addPrice method?According to the lesson, static method can not access non-static variables. However, addPrice is a static method and applePrice variable of Apple class is also static. Why then we needed to use Apple.applePrice to access the variable in addPrice method?
    • 17.07.2020
    • 604views
    • 2comments
    0
  • Shaik Azharuddin
    Level 20
    Question about the task Five winners
    Java Syntax, Level 8, Lesson 11
    Under discussion
    what is the issue with my code? what is the issue with my code
    • 18.07.2020
    • 458views
    • 1comment
    0
  • Comific
    Level 3
    Plymouth
    Under discussion
    Cant disable my subscriptionNo disable button????
    • 18.07.2020
    • 466views
    • 1comment
    0
  • Seferi
    Level 22
    Question about the task Kind Emma and the summer holidays
    Java Syntax, Level 8, Lesson 8
    Resolved
    This works fine but doesn't pass..I tested it and it works fine but for some reason last step fails...
    • 07.07.2020
    • 563views
    • 3comments
    1
  • Riya
    Level 15
    Indore
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Resolved
    What I did wrong don't knowit prints nothing
    • 18.07.2020
    • 492views
    • 2comments
    0
  • Shaik Azharuddin
    Level 20
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    why am I getting out of memory error on java heap I am getting out of memory error on java heap help me resolving the issue
    • 13.07.2020
    • 521views
    • 4comments
    0
  • hidden #10625598
    Level 23
    Question about the task Task about algorithms
    Java Syntax, Level 9, Lesson 11
    Under discussion
    why do i get a Nullpointer here?
    • 18.07.2020
    • 557views
    • 0comments
    0
  • hidden #10625598
    Level 23
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Under discussion
    how do i make this uppercase?java:22: error: char cannot be dereferenced \\ << because of toUpperCase() why does that happen and how can i solve this?
    • 18.07.2020
    • 729views
    • 1comment
    0
  • Anonymous #10410173
    Level 22
    Delhi
    Question about the task A scary fairy tale
    Java Syntax, Level 9, Lesson 11
    Resolved
    Help Please !!i can't find the actual solution of this story
    • 14.01.2020
    • 1638views
    • 5comments
    0
  • Lazyman
    Level 7
    Omaha
    Question about the task Minimum of two numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    use of bracketsHey, i have done a few other java courses before and previously in those courses we had a bunch more of these "{ }" we used them in such places as: if(2<1) { System.out.println("what is this shit?"); else { System.out.println("this is weird"); } } When now in t
    • 08.07.2020
    • 672views
    • 4comments
    0
  • R S ROHITH KRISHNAN
    Level 6
    Chennai
    Question about the task Create a Dog class
    Java Syntax, Level 5, Lesson 7
    Under discussion
    what did i missdid i miss something
    • 03.08.2019
    • 1194views
    • 2comments
    0
  • Henry Yao
    Level 22
    Pasadena
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Under discussion
    not be able pass the last requirement but output correct, pls help! package com.codegym.task.task05.task0502; /* Implement the fight method */ public class Cat { public int age; public int weight; public int strength; public Cat() { } public boolean fight(Cat anotherCat) { //write your code here if((this.age < anotherCat.age)
    • 11.03.2020
    • 1385views
    • 6comments
    0
  • Dinesh
    Level 7
    Delhi
    Question about the task Price of apples
    Java Syntax, Level 4, Lesson 1
    Under discussion
    What i am failing to understand about static variables and methods and about this keyword please explainUnderstanding on the task :- The static variable applePrice Line 17 has been accessed by the class name Apple.applePrice at Line no 22 Line 16 Apple Class method addPrice() also static Line 19 2 objects of the Apple class Line 9 apple and Line 11 apple2 which is calling the static addprice () m
    • 25.05.2020
    • 918views
    • 4comments
    2
  • tony
    Level 20
    Nis
    Question about the task Dividing by zero
    Java Syntax, Level 9, Lesson 11
    Resolved
    why this code it's not verified?why this code it's not verified? I have tried in Eclipse and it's work If I put (10,2) in line 12, I get 5 as a result In case (10, 0) result is error, but this is the point, isn't it?
    • 30.12.2018
    • 2038views
    • 3comments
    0
  • Marek Pasierbek
    Level 9
    Poznań
    Question about the task Kind Emma and the summer holidays
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Why getMonth() method is deprecated ? public static void removeAllSummerPeople(HashMap map) { Iterator> iterator = map.entrySet().iterator();//write your code here while (iterator.hasNext()) { Map.Entry entry = iterator.next(); if (entry.getValue().getMonth() >= 5 && entry.getValue(
    • 17.07.2020
    • 663views
    • 3comments
    0
  • Nithin
    Level 35
    Hyderabad
    Question about the task Hippodrome (part 6)
    Java Multithreading, Level 1, Lesson 16
    Resolved
    anyone please help me what i am missing here ?I think i am missing something in conditions .please help me
    • 26.06.2019
    • 1314views
    • 5comments
    0
  • Antonia
    Level 10
    Question about the task Seeing dollars in your future
    Java Syntax, Level 4, Lesson 10
    Under discussion
    helphelp
    • 09.07.2019
    • 2093views
    • 12comments
    0
  • Eduardo
    Level 23
    Coyoacan
    Question about the task Ten cats
    Java Syntax, Level 9, Lesson 11
    Resolved
    Not sure where am I going wrongHi, I'm trying to iterate over the map to get the keys and put them in the set but I'm not sure how to accomplish that. Thanks!
    • 30.01.2019
    • 2590views
    • 6comments
    2
  • hidden #10625598
    Level 23
    Question about the task Making the right conclusion
    Java Core, Level 10, Lesson 10
    Under discussion
    what is wrong here?main calls class C method2 this prints method2 and calls super.method1(); then im unsure if because method 1 is private it calls method 2 instead? beacuse my output is method 2, okay so then i call A method1 from A method2 - all fine after printing the text i create a new B object to call c
    • 17.07.2020
    • 607views
    • 3comments
    0
  • Jay
    Level 17
    Washington
    Question about the task Incorrect lines
    Java Core, Level 3, Lesson 11
    Under discussion
    Interface can have state??I thought that an interface only contains behavior and cannot contain state. If this is correct, is String NAME not considered state?
    • 13.08.2019
    • 1427views
    • 7comments
    0
  • hidden #10625598
    Level 23
    Question about the task Overriding serialization in a thread
    Java Core, Level 10, Lesson 10
    Under discussion
    hey a question, since when do we have to add true to a FileOutputStream parameter? what is this for?private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); stream = new FileOutputStream(fileName, true); <<<<<<<<<<< }
    • 17.07.2020
    • 473views
    • 3comments
    0
  • Henrique
    Level 41
    São Paulo
    Question about the task Reading and writing static fields to a file
    Java Core, Level 10, Lesson 2
    Under discussion
    Can anyone explain me anything about this task?I didn't understand anything, so I don't even know what to ask... And some other questions about this and the last tasks: 1. What does it mean when we write something like "classWithStatic.i" and "loadedObject.j" (these ".i" and ".j")? I don't remember seeing something like this before. Until now,
    • 08.07.2020
    • 502views
    • 2comments
    2
  • Johannes
    Level 27
    Centurion, Pretoria
    Question about the task Incorrect lines
    Java Core, Level 3, Lesson 11
    Resolved
    just one question:Why is the String variable name in uppercase ? interface SimpleObject { String NAME = "SimpleObject"; void onPress(); } And if it is to maybe denote that it's a final variable, should the word "final" not be used in front ?
    • 22.03.2020
    • 879views
    • 1comment
    0
  • andy 6473
    Level 9
    Bangalore
    Question about the task Changing functionality
    Java Syntax, Level 7, Lesson 12
    Under discussion
    The code which i wrote is mentioned below. can some one let me know what is wrong . i am unable to concat ArrayList string2 = new ArrayList<> ( ); // to check odd or even for(int i= 0 ; i < list.size (); i++){ String s = list.get ( i ); string2.add ( s ); } for(int i = 0 ; i < string2.size();i++){ if(string2.get ( i ).
    • 17.07.2020
    • 619views
    • 2comments
    0
  • 1
  • ...
  • 165
  • 166
  • 167
  • 168
  • 169
  • ...
  • 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