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
Which software is used for java?
Explain connector architecture.
How to create object without using the keyword “new” in java?
What is java ee server?
Define orm and its working in j2ee?
Why primitive data types in java are not objects?
What is the difference between load() and get()?
What is application configuration resource file?
What are the components of awt in java?
What is j2ee application?
What is actionform?
Is string an object in java?
In DAO we are writting sql queries , how it is possible with creating and closing database connections.
What is the name of java compiler?
What is javafx java?