Using private fields within classes is an example of what feature found in all object-oriented languages?

A. information hiding
B. polymorphism
C. inheritance
D. overloading


Answer: A

Computer Science & Information Technology

You might also like to view...

An empty array is an array that contains no ____.

A. data B. indexes C. memory D. elements

Computer Science & Information Technology

Keyword __________ in a class declaration is followed immediately by the class’s name.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

What are the goals of an auditor?

What will be an ideal response?

Computer Science & Information Technology

What's the first step when writing persistent data using a SharedPreferences file?

A. Save the values to the preferences file B. Assign values into SharedPreferences objects C. Create a SharedPreferences.Editor object D. Obtain an instance of the SharedPreferences file

Computer Science & Information Technology