Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
How do you enforce encapsulation on the data members of your class?
Use private properties.
Create private data members.
Use public properties.
Use the protected access modifier on methods, properties, and member variables.
Create private methods.
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!