In 10 carts

Price: ₹ 148.000

Original Price: ₹ 647.000

50% off
New markdown! Biggest sale in 60+ days

Super keyword in java: Super and this keyword

You can only make an offer when buying a single item

Add to cart

super and this keyword super () as well as this () keyword both are used to make constructor calls. super () is used to call Base class's constructor (i.e, Parent's class) while this () is used to call the current class's constructor. In java it is predefined that the ' super ' word is somewhere related to the parent class. If we need to brief and justify the title in one go then the super keyword in java refers to dealing with parent class object while super () deals with parent class constructor. Learn how to use the super keyword in Java to call superclass methods and access superclass constructors. See a simple example of how to use super in a subclass to override a method in the superclass.

4.9 out of 5

(51748 reviews)

5/5 Item quality
4/5 Shipping
4/5 Customer service
Loading