There are 2 classes . Class A and Class B. In Class A i declared
a variable in private. if we can access this private variable in
Class B. If yes means , how we can access ?
Answer Posted / anant
The variable declared in class a should be directed available
in inner class because.
Getter and setter is also another way.
Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
Which java technology is in demand?
What is j2ee application model?
What is java j2ee developer?
What is declarative security ?
What is jta and jts?
Who gave the name java?
What is tomcat in j2ee?
What is iso 3166?
What is j2ee api?
Is java safe to download?
Is java a high level language?
Differentiate between .ear, .jar and .war files.
What is a thin client?
What is instance in java?
What is awt package in java?