Solved

Which of the Following Statements About Classes Is Correct

Question 9

Multiple Choice

Which of the following statements about classes is correct?


A) All instance variables and most instance methods should be declared as public.
B) All instance variables and most instance methods should be declared as private.
C) All instance variables should be declared as public and most instance methods should be declared as private.
D) All instance variables should be declared as private and most instance methods should be declared as public.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions