Q22.webp
vanhoa2005

Q22.webp

Question: 22
(Choose 1 answer)
Which of the following statements is correct about constructors in inheritance?
A. A constructor of the parent class is automatically inherited by the child class.
B. The constructor of a parent class is called first when a subclass object is created.
C. The parent class constructor cannot be called from a subclass.
D. A child class must override the constructor of the parent class.

Thông tin

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

Share this media

Back
Bên trên Bottom