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 is event and listener in java?
What are the technologies a java developer must know?
J2ee is a container centric architecture. Explain.
What is attribute what is asant?
What do you mean by the component contract?
Is java is fully object oriented?
How can I be good in java?
What is context attribute?
What is cascade delete?
What is asant?
What does j2ee stand for?
What is empty tag?
What is j2ee server?
What does the web module contain?
What is setbounds in java?