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 j2ee api?
What is javabeans component?
What is comment?
What is j2ee application model?
Give some advantages of orm (object-relational mapping)?
What is java ee architecture?
I’m new to WebLogic Does anyone knows how to Deploy Application using
Who generates bytecode in java?
What is j2ee module?
Describe orm?
Is java a tool?
Why java is called portable language?
What do you understand by business logic?
What is asant?
In DAO we are writting sql queries , how it is possible with creating and closing database connections.