Tech
Baba.com
Home
|
Ask a New Question
|
Register
|
LogIn
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?
Yunish
Views: 589 | Community Opinion:
1
Tags..
Java Interview
Core Java
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
*Name
Please enter your name.
*your opinion/answer:
Please enter your opinion.
Related Questions & Answers:
What is the difference between the >> and >>> operators?
What is the Map interface?
How are the elements of a GridBagLayout organized?
Why are the methods of the Math class static?
What Checkbox method allows you to tell if a Checkbox is checked?
What interface is extended by AWT event listeners?