Programming (12th Grade)
Object-Oriented Programming
Which of the following is true about 'inheritance' in object-oriented programming?
It allows one class to inherit properties from another
It is the same as encapsulation
It prevents code reuse
None of the above