why i can not access private variable in other class?
Answer Posted / maggie
it cant access.because its life time only within the class
or loop.it expires when it comes out from the class or loop.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is stateless and stateful in java?
Do I need both jdk and jre?
What is javabeans api?
Spring framework ---Can somebody explain me in easily understandable format about AOP, IOC and DI, so that i can explain in interview rather than just telling what is available in net. I am not able to understand that also. I am new to Spring
Do I need to install jre if I have jdk?
Is java an api?
What is an action class in java?
What is the difference between a jdk and a jvm?
What is @override annotation in java?
What is the front end for java?
what is reflection api? How are they implemented?
Write a program for the following topic - switch case,looping using fuction calling,nesting,console input output. Aim- to print a menu:- 1-series 2-single value. Each menu having sub menu armstrong or perfect.
Why dependency injection is used in java?
How does jpa repository work?
What is jpa entitymanager?