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
Who generates bytecode in java?
Why is java called technology?
What is a j2ee module?
What is iso 3166?
What is fatal error?
What is content?
What is a plugin in java?
What does web module contain?
What is architecture neutral in java?
What is java developer job description?
What are j2ee technologies?
Which java technology is in demand?
What is j2ee and j2se?
What are j2ee components?
What is java used for in technology?