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 / anup

we can easily use of private variable of class A by class B
by inherits by extends keywords as a publicly.then every
variable which are present in base class as behave in derive
class.

Is This Answer Correct ?    1 Yes 25 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is java 2 platform, standard edition (j2se)?

525


How many types of component events are in java?

481


What is deployer?

555


Is python more secure than java?

557


How to invoke stored procedure in hibernate?

492






What is ejb container provider?

462


What is multi tier architecture in j2ee?

462


What is Connector architecture?

513


What is callback methods?

536


What is java transaction api (jta)?

526


What is java developer?

474


What is javaserver pages (jsp)?

506


What is button in java?

491


What is jaxr client?

527


What is enterprise information system resource?

548