Super Keyword in Java with example
Super Keyword in Java with example. You can find Super keyword example Program (code snippets) in this page. class Base1{ protected int num; public Base1(int n){ num = n; System.out.println(“\n\t1-parameter constructor of Base class.”); } public void display(){ System.out.println(“\n\tDisplay of Base class: ” + num); } } class Derived1 extends Base1{ private int num; public… Read More »