Which of the following statements is true?

a. Methods and instance variables can both be either public or private.
b. Information hiding is achieved by restricting access to class members via keyword public.
c. The private members of a class are directly accessible to the clients of a class.
d. None of the above is true.

a. Methods and instance variables can both be either public or private.

Computer Science & Information Technology

You might also like to view...

Dogpile is an example of a(n) ________ engine

Fill in the blank(s) with correct word

Computer Science & Information Technology

The core of an operating system that coordinates system functions is referred to as the CPU.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology