Question: What is encapsulation in object - oriented programming? A ) Combining data and methods into a single unit called a class B ) Hiding the
What is "encapsulation" in objectoriented programming?
A Combining data and methods into a single unit called a class
B Hiding the implementation details of a class
C Allowing a function to be overridden in a derived class
D The ability to process objects differently based on their data type
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
