Test Preparation on JAVA-Test Prep. Classes and Methods-2

1.

Which of the following modifier means a particular variable cannot be accessed within the package?

Explanation: Private variables are accessible only within the class.

Next Question Show Answer