PRO192_-_SU_2024_-_FE2_2332.webp
Nanami871

PRO192_-_SU_2024_-_FE2_2332.webp

Kizspy | Question: 23 (Choose 1 answer)
What is the primary purpose of using a superclass and subclass relationship in Java?
A. To restrict access to certain methods or fields.
B. To create multiple instances of a class.
C. To implement multiple inheritance.
D. To achieve code reusability and facilitate polymorphism.
E. To enforce encapsulation.
F. To establish a one-to-one mapping between classes.

Thông tin

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

Share this media

Back
Bên trên Bottom