Solved

Which of the Following Statements Is True

Question 7

Multiple Choice

Which of the following statements is true?


A) Each object (instance) of the class shares the class's instance variables.
B) Most instance-variable declarations are preceded with the keyword public, which is an access modifier.
C) Variables or methods declared with access modifier private are accessible only to methods of the class in which they're declared.
D) None of the above is true.

Correct Answer:

verifed

Verified

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

Related Questions