Which of the following statements is correct when a class is inherited publicly?
Answer: Option D
Explanation: