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 are the main components of the j2ee application?
What is filter chain?
What is ear file?
What is business method?
What are the components of j2ee applications?
What is application client container?
How will you explain load() and get() methods?
Which java ide is best?
What is button in java?
What software is needed for java programming?
What is java web technologies?
What is credentials?
What is the ear file?
What is containers in java?
What are the j2ee client types?