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 javamail?

522


What is event and listener in java?

420


What is j2ee component?

503


Which is latest technology in java?

478


What is frame in java?

492






What are the technologies a java developer must know?

467


What is a java applet?

545


What is comment?

531


What is 2 stands for in j2ee?

513


What will happen when you compile and run the following code?

510


What does web module contain?

515


What software is needed for java programming?

447


What is callback methods Component methods called by the container to notify the component of important events in its life cycle?

525


What does resource adapt module contain?

525


What is wildfly java?

476