Kizspy | Question: 27
(Choose 2 answers)
Choose multiple correct answers.
A. Inheritance allows a class to inherit the properties and methods of another class
B. The keyword "extends" is used to indicate inheritance in Java. It is used in the declaration of a subclass to specify the superclass that it is inheriting from.
C. A subclass can inherit the private members of the superclass
D. Java supports both multiple inheritance of classes and interfaces