Java Programming Fundamentals
Casual Mode - Take your time!
1 / 18
Correct
0
Incorrect
0
Score
0%
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)