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 / deepak sarao
with the help of friend function u can access private of
class A in class B
| Is This Answer Correct ? | 5 Yes | 19 No |
Post New Answer View All Answers
What is application component provider?
What is j2ee specification?
What is gridlayout in java?
Why is java more secure?
How do you make a class immutable in java?
Is j2ee a framework?
Why java is not 100% object oriented language?
What are the different java technologies?
Explain jta, jndi, and jms.
What is the use of method save()?
What is basic authentication?
What is authorization?
How java is used in web applications?
What is java netbeans?
What is j2ee stand for?