250 / 165 Review Flashcards
1
Q
What is encapsulation
A
Bundling data and methods that operate on that data within a single unit. It is a way of hiding implementation details of a class from outside access and only exposing a public interface to interact with the class.
2
Q
A