PRO192_-_SU_2024_-_RE_2466.webp
B

PRO192_-_SU_2024_-_RE_2466.webp

Kizspy | Question: 28
(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

Thông tin

Category
PRO192
Thêm bởi
bright_moon
Ngày thêm
Lượt xem
2,287
Lượt bình luận
6
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom