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
What is java 2 platform, standard edition (j2se)?
How many types of component events are in java?
What is deployer?
Is python more secure than java?
How to invoke stored procedure in hibernate?
What is ejb container provider?
What is multi tier architecture in j2ee?
What is Connector architecture?
What is callback methods?
What is java transaction api (jta)?
What is java developer?
What is javaserver pages (jsp)?
What is button in java?
What is jaxr client?
What is enterprise information system resource?