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
Is java ee and j2ee same?
What is jaap?
What does java awt stand for?
What is the description for expression element?
Is downloading java safe?
What is the use of jit compiler in java?
What do you understand by j2ee?
What is difference between j2ee and java?
Which is latest technology in java?
What is j2ee server?
Is eclipse written in java?
I’m new to WebLogic Does anyone knows how to Deploy Application using
What is callback methods Component methods called by the container to notify the component of important events in its life cycle?
What is java listener?
What is java api for xml processing (jaxp)?