Trả lời:
Đáp án đúng: A
The code uses inheritance with a `Parent` class and a `Child` class inheriting from it. A `Child` object is created and `p.show()` is called. Due to polymorphism, `Child`'s `show()` method is executed. Inside `Child`'s `show()`, `super.show()` calls `Parent`'s `show()`, printing `x` (400). Then, `Child`'s `show()` prints its own `x` (401). Thus, the output is `400 401`.
Câu hỏi liên quan

FORM.08: Bộ 130+ Biểu Mẫu Thống Kê Trong Doanh Nghiệp

FORM.07: Bộ 125+ Biểu Mẫu Báo Cáo Trong Doanh Nghiệp

FORM.06: Bộ 320+ Biểu Mẫu Hành Chính Thông Dụng

FORM.05: Bộ 330+ Biểu Mẫu Thuế - Kê Khai Thuế Mới Nhất

FORM.04: Bộ 240+ Biểu Mẫu Chứng Từ Kế Toán Thông Dụng
