Liferay interview question

Basic inheritance and polymorphism question. Given a class and a subclass, where there is a function which is defined for both, determine what is printed when you instantiate various objects as base or subclasses.

Interview Answer

Anonymous

Feb 20, 2016

just know basic inheritance/polymorphism