Question: Data hiding, which means that critical data stored inside the object is protected from code outside the object, is accomplished by A) Using the private
Data hiding, which means that critical data stored inside the object is protected from code outside the object, is accomplished by
A) Using the private access specifier on the class methods.
B) Using proper notation to set access to private on the class fields.
C) Using the public access specifier on the class methods.
D) Using the private access specifier on the class definition.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
