If a variable is declared as private, where may the variable be accessed?

If a variable is declared as private, where may the variable be accessed?

Tags..  Java Interview  Core Java
Posted by: Yunish | Views: 72 | Community Opinion: 1

Add Your Opinion

Bookmark this page..



Ask a New Question Go to Home


Community Opinion/Answers
Sotlim said..

A private variable may only be accessed within the class in which it is declared.



What do you think? Add your opinion/answer
Your Name:
*your opinion/answer: