1.

If class A is derived from another derived class B which is derived from class C, which class will have maximum level of abstraction?(a) Class A(b) Class B(c) Class C(d) All have the same level of abstractionThe question was asked during an interview.Origin of the question is Derived Class topic in portion Classes of Object Oriented Programming

Answer»

Right answer is (c) CLASS C

The best EXPLANATION: The ABSTRACTION level of class C will be maximum. This is because the parent class have higher level of abstraction. Hence the parent of all other class will have maximum level of abstraction.



Discussion

No Comment Found

Related InterviewSolutions