Q2
What does inheritance allow in OOP?
A.
A class to override instance methods
B.
A class to access private methods
C.
A class to be instantiated
D.
A class to inherit properties and behaviors from another class
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board