📚 Practice Mode
Java Programming Fundamentals
Learn at your own pace with hints and detailed explanations
1 / 18
Multiple Choice
What is the role of encapsulation in Object Oriented Programming?
- It is used to hide the data from the outside view.
- By using encapsulation we can use the properties of the base class in the subclass.
- Encapsulation binds the data and code in a well defined interface.
- All of the above
- Both (1) and (3)