1.

A Class Person has a subclass employee.Which of the following is true and why?(i) Class Employee can have no sub class(ii) Class Employee can have no other parent than Person class.(iii) Class Person can have atmost one sub class.

Answer»

Only statement (ii) is true because Java does not support multiple inheritance.



Discussion

No Comment Found