PRO192_-_SU_2024_-_FE_2329.webp
Q

PRO192_-_SU_2024_-_FE_2329.webp

Kizspy | Question: 31 (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
quangthai2001
Ngày thêm
Lượt xem
6,200
Lượt bình luận
18
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom