Multiple Choice
In general, it is better to use __________ visibility, because derived classes may be written by different programmers, and it is always a good practice to restrict and control access to the base-class data fields.
A) protected
B) public
C) package
D) private
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q15: At the top of the level of
Q16: Which of the following statements is a
Q17: Objects further down the hierarchy are more
Q18: The statement _ creates an object of
Q19: Complete the header for class Artist, which
Q20: Classes can be arranged in a hierarchy,
Q21: If the execution of any constructor in
Q23: A Ford Model-T automobile is in a
Q24: If a member function is declared _,
Q25: Suppose two Clock class functions named get_military_time