Virtuoso Infotech interview question

Related to Android and some oops concepts