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 / aslam

class B must be inner class of class A

Is This Answer Correct ?    31 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does application client module contain?

538


Why java is interpreted language?

451


What is delegation?

541


What is basic authentication?

538


What is java ee technologies?

460






What is the latest technology used in java?

499


How many types of constructors are there in java?

451


I’m new to WebLogic Does anyone knows how to Deploy Application using

1748


What are the types of j2ee clients?

498


Why class is used in java?

480


What is j2ee called now?

481


What software is needed for java programming?

447


What is entity reference?

496


Which is latest technology in java?

478


What is java 2 platform, micro edition (j2me)?

511