Solved

Data Hiding (Which Means That Critical Data Stored Inside the Object

Question 24

Multiple Choice

Data hiding (which means that critical data stored inside the object is protected from code outside the object) is accomplished in Java by __________.


A) using the public access specifier on the class methods
B) using the private access specifier on the class methods
C) using the private access specifier on the class fields
D) using the private access specifier on the class definition

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions