When Superclass and subclass have method having same signature and name then a......
Recent Post
Home
All posts
Sunday, March 5, 2017
Order of Execution of Constructors Java
Constructors follow the order of derivation in case of Inheritance
i.e- Superclass......
super.member in JAVA
Keyword Super is also used to use the members of superclass which are same as the......
Saturday, March 4, 2017
Super() in Java
Keyword Super is used to refer to the immediate Superclass in case of Inheritance......
Reference To Subclass Object (Object Slicing)
A Superclass reference variable can refer to a Subclass Object .By doing this the......
Multilevel Inheritance Java
In Multilevel Inheritance the Subclass of one superclass is acting as a Superclass......
Single Inheritance Java
Inheritance is a feature of reusing the code.Without starting from scratch......
Subscribe to:
Posts (Atom)