PRO192_-_FA_2024_-_Block_5_-_FE_3237.webp
plum_blossom1

PRO192_-_FA_2024_-_Block_5_-_FE_3237.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
plum_blossom1
Ngày thêm
Lượt xem
3,415
Lượt bình luận
7
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom