91.0k views
2 votes
The scope of a private instance field is: A. the instance methods of the same class B. inside the class, but not inside any method C. inside the parentheses of a method header D. the method in which they are defined

1 Answer

4 votes

Answer:

A

Step-by-step explanation:

private instance field can be used in the instance method of the same class. The private access specifier is used when we want to access any data member within the class but not outside the class. it is private to that class only.

The Answer is A

User Van Gale
by
6.2k points