1) What is “Inheritance”?
2) What are the types of inheritance?
3) Key points about Inheritance implementation in java?
4) Example program on the implementation of single inheritance?
5) write about Constructors in inheritance?
6) What is output of the fallowing program?
7) what is the output of the program?
8) what is the output of fallowing program ?
9) How to fix the compilation error of these 3 applications?
10) What is the practical need of calling sub class constructor from within the subclass constructor explicitly? Give an example.
11) What are the similarities between “this” and “super” keywords as far asconstructor calling is concerned?
12) What is method overriding?
13) Why method overriding?
14) Exampleprogram on method overriding?
15) Whatare 3 uses of “super” keyword?
16) Exampleprogram on super keyword 2 usages?
Comments
Post a Comment