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
What does j2ee stand for?
What is authorization?
What is j2ee technology?
What is single tier architecture in java?
What is 2 stands for in j2ee?
What is java transaction service (jts)?
Which package is imported by default in java?
What is the container?
What are the components of j2ee?
What is event in java?
How is java development environment setup?
What does enterprise javabeans module contain?
Where javac is located?
What is java gui?
Explain jta, jndi, and jms.