Question

Which of the following best describes Abstraction in Object-Oriented Programming (OO

  • P ?
A Hiding the implementation details while exposing only the essential features
B Restricting access to certain parts of an object to protect data
C Combining different objects into a single unit to represent a relationship.
D Allowing multiple classes to share the same method name but with different implementations.
E Establishing a parent-child relationship between classes.
Practice Next

Hey! Ask a query