Q32.webp
ThanhTam81

Q32.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
ThanhTam81
Ngày thêm
Lượt xem
2,162
Lượt bình luận
6
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom