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 ear file?
What is entity reference?
What is cascade delete?
Enlist the technologies embraced in j2ee?
Is java is a technology?
What is java api for xml processing (jaxp)?
What is j2ee technology?
What is a java developer?
What is connector?
Why is java called technology?
What is a plugin in java?
What is container-managed sign-on?
What is devops in java?
What are the four types of J2EE modules?
What id url?