If a variable is declared as private, where may the variable be accessed?
Short Answer
Views 885
Answer:
A private variable may only be accessed within the class in which it is declared.
Related Articles:
This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.
Join Our telegram group to ask Questions
Click below button to join our groups.