Saved Bookmarks
| 1. |
What is the role of objects and class in encapsulation |
|
Answer» A class is a program-code-template that allows DEVELOPERS to CREATE an object that has both variables (data) and behaviors (functions or METHODS).EXPLANATION:Encapsulation can be used to hide both data members and data functions or methods associated with an instantiated class or object. pls hit thanks and mark as the brainliest answer if this answer HELPED you |
|