1.

What is not type of inheritance?(a) Single inheritance(b) Double inheritance(c) Hierarchical inheritance(d) Multiple inheritanceI had been asked this question during an interview.This interesting question is from Inheritance topic in division Inheritance of Java

Answer»

Right option is (b) DOUBLE inheritance

The best explanation: Inheritance is way of ACQUIRING ATTRIBUTES and methods of parent class. Java SUPPORTS HIERARCHICAL inheritance directly.



Discussion

No Comment Found

Related InterviewSolutions