Programs Using "super" Keyword
Super Keyword Super Keyword is used to refer the immediate parent class object. Super keyword can be used in three Levels : Super at Variable Level Super at Constructor Level. Super at Method Level 1.super Keyword at Variable Level: When we want to call the variable from the super class then such variables can be called using the super keyword and such level of calling a variable is called as super at variable level. Programs Using super Keyword at Variable Level class SuperVariable { String instituteName="Void Main Technologies"; } class SuperVariable1 extends SuperVariable { String instituteName="Institute For all The Technical Courses"; void printDetails() { System.out.println(super.instituteName); // prints the super class variable Value System.out.println(instituteName); } } class SuperVariableLevel extends SuperVariable1 { public static void main(String[] args) { System.out.println(...