Encapsulation ensures that?
- function in the program can access the data
- External functions cannot access an object’s nonpublic data
- external functions cannot access any data of the object
- the data of the object is never modified
Answer:
Option e: external functions cannot access an object’s nonpublic data
Explanation Here
0 Comments