PRO192_-_FA_2024_-_FE_2969.webp
B

PRO192_-_FA_2024_-_FE_2969.webp

Kizspy | Question: 32
(Choose 1 answer)
What is the difference between composition and inheritance in Java?
A. Composition is a way to create objects dynamically, while inheritance is a way to reuse code
B. Composition is a way to create objects statically, while inheritance is a way to create objects dynamically
C. Composition is a way to reuse code, while inheritance is a way to create objects dynamically
D. Composition is a way to create objects by combining existing objects, while inheritance is a way to reuse code

Thông tin

Category
PRO192
Thêm bởi
Bích Thủy
Ngày thêm
Lượt xem
5,011
Lượt bình luận
10
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom