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 the latest technology used in java?

697


Is string a primitive data type in java?

613


What are the components of the java platform?

658


What are types of j2ee clients?

684


Is eclipse written in java?

698


How do you run a java program?

648


What is a component in java?

621


What is authorization?

739


Why java is called robust and secure?

661


What is container-managed sign-on?

720


What are defined as web components?

671


what is direct link to download swing ebook,applet,ejb,core java

2227


What is a web container in j2ee?

683


What do you understand by connector? Explain connector architecture.

663


What is a thin client?

719