Which of the following statements is true?
a) Methods and instance variables can be public, protected or private.
b) Information hiding is achieved by restricting access to class members via keyword
public.
c) The public members of a class are not directly accessible to the client of a class.
d) None of the above is true.
a) Methods and instance variables can be public, protected or private.
You might also like to view...
In Excel, borders can be added to the top, bottom, or either side of cells to create groups or to add meaning
Indicate whether the statement is true or false
Which of the following is NOT true regarding the Locked property?
A) The Enabled property is not as strong as a lock. B) A value of No means that data can be entered. C) The Locked property determines whether data can be entered into the field on the form. D) A value of Yes means that the field is locked and data cannot be entered.