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

c. using the private access specifier on the class fields

Computer Science & Information Technology

You might also like to view...

Which companies have recently required software registration over the Internet or by telephone to activate it?

A) Microsoft and Apple B) IBM and Microsoft C) Apple and IBM D) Microsoft and Adobe

Computer Science & Information Technology

Predesigned files that Office provides are called ________

Fill in the blank(s) with correct word

Computer Science & Information Technology