Q22.webp
Đ

Q22.webp

Kizspy | Question: 22
(Choose 1 answer)
Which of the following statements is TRUE about method overriding in Java?
A. An overriding method can have a different return type than the method it overrides, as long as the new
return type is a subtype of the original return type.
B. An overriding method must have the same name, parameter list, and return type as the method it overrides.
C. An overriding method must have less restrictive access than the method it overrides.
D. Methods that are declared final cannot be overridden.

Thông tin

Category
PRO192
Thêm bởi
Đức Thành1
Ngày thêm
Lượt xem
1,707
Lượt bình luận
13
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom