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
Is java safe to download?
What is awt package in java?
What is assembly in java?
What is java transaction api (jta)?
Describe action form?
Why is j2ee needed?
What is DDP?
What is javabeans component?
How many java languages are there?
What is javaserver pages standard tag library (jstl)?
What is webservices in java?
What is application configuration resource file?
What does j2ee stand for?
What is setfocusable in java?
Which compiler is used in java?