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 caller?
What is the use of method save()?
What software is needed for java programming?
What is a java ee container?
Why java is called robust and secure?
What is java servlet container?
Is eclipse written in java?
What are the java backend technologies?
What is home interface?
How to invoke stored procedure in hibernate?
What is component contract?
What is basic authentication?
How long does it take to master java?
Why java is interpreted language?
What is Document Object Model?