Question: What is the difference between abstraction and encapsulation?Answer: Abstraction involves hiding the complex reality while encapsulation involves bundling the data and the methods that operate on the data into a single unit. |
Is it helpful?
Yes
No
Most helpful rated by users: