1.

If a class is enclosing more than one class, than it can be called as base class of those classes.(a) True(b) FalseThis question was addressed to me in quiz.My enquiry is from Base Class topic in portion Classes of Object Oriented Programming

Answer»

Right OPTION is (B) False

Explanation: When a class have more than one nested classes, it is known as enclosing class. It can’t be called as parent or BASE class SINCE there is no inheritance INVOLVED.



Discussion

No Comment Found

Related InterviewSolutions