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

There is no freind function in java.

Is This Answer Correct ?    28 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is wildfly java?

481


What is application configuration resource file?

514


What is business logic?

535


Where can I find java developers?

518


Why is j2ee needed?

501






What is button in java?

493


What are the main components of the j2ee application?

482


What is j2ee application model?

480


What is j2ee and j2se?

491


What is the preferred size of a component in java?

456


Is java part of oracle?

478


How java is used in web applications?

485


What is urn?

532


What is java transaction service (jts)?

549


What do you mean by the deployment descriptor?

515