Super class
class A{
int a;
A (int i){
a=i;
}
void disp(){
System.out.println("a is super = "+a);
}
}
class B extends A{
int a;
B (int b1, int b2){
super(b1);
a=b2;
}
void disp(){
System.out.println("a in sub = "+a);
super.disp();
}
}
public class sixteen {
public static void main(String[] args) {
B obj = new B(10,11);
obj.disp();
}
}