SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

OOP Practice Questions

» Start this Course
(Practice similar questions for free)
Question:

Abstraction vs Encapsulation?

Author: Lock Huynh



Answer:

Abstraction focuses on hiding the complex implementation and showing only the necessary parts of the object. Encapsulation is about bundling the data and methods that work on the data within one unit and restricting access to some of the object's components


0 / 5  (0 ratings)

1 answer(s) in total