why i can not access private variable in other class?
Answer Posted / naresh
private variable are visible within it class only. the are
not visible to other class within that package or other. so
we cannot access.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
I have deployed a .war file in my application server comprising of struts and hibernate.If i want to change the "dialect" property of hibernate cfg file how can i change(I have only .war file)... Thanks in advance
What is cdi in java?
How do I run a project in eclipse?
How do I install java re?
What is java persistence api used for?
What is the meaning of the words public, static and void?
Write a class which checks whether a given number is prime or not. Write another class to implement the behavior of previous class and print the series of twin prime number upto a given range.
What is the use of flatmap in java 8?
Who created eclipse?
What is jdk for netbeans ide?
What is data persistence in java?
Is java secure? : java security
What are tlds in java?
What type of parameter passing does java support?
Which interceptor is responsible for setting action javabean properties?