1.

A base class is also known as _____________ class.(a) Basic(b) Inherited(c) Super(d) SubThis question was addressed to me by my college professor while I was bunking the class.My question is from Base Class in section Classes of Object Oriented Programming

Answer»

Right option is (C) Super

Explanation: A class which is being DERIVED by other classes, is CALLED as super class. This concept is clearly USED in java as we call the functions of a base class by using the keyword super as required.



Discussion

No Comment Found

Related InterviewSolutions