1.

Using which of the following, multiple inheritance in Java can be implemented?(a) Interfaces(b) Multithreading(c) Protected methods(d) Private methodsI had been asked this question in semester exam.Question is from Inheritance in portion Inheritance of Java

Answer»

Right option is (a) INTERFACES

Easy EXPLANATION: MULTIPLE inheritance in java is IMPLEMENTED using interfaces. Multiple interfaces can be implemented by a class.



Discussion

No Comment Found

Related InterviewSolutions