Q26.webp
N

Q26.webp

Question: 26
(Choose 1 answer)
Which of the following statements is true about superclass and subclass relationships in Java?
A. A subclass can access private members of its superclass.
B. A superclass can extend multiple subclasses simultaneously.
C. A subclass constructor must always call the superclass constructor explicitly.
D. A superclass reference can be used to directly access subclass-specific methods.
E. A subclass can override a private method in its superclass.
F. A subclass can have more than one superclass.
  • Like
Reactions: Datttt

Thông tin

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

Share this media

Back
Bên trên Bottom