why i can not access private variable in other class?
Answer Posted / srinu
private variable are visible in the with in class only.This
are not accessble to other class with in same package or
other diiferent package .so we can't access the private
variable out side of classes
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Is jvm a compiler or an interpreter?
when i send the request to the JSP page it will print as it is and why? and how to solve this problem please inform me that solution
Which is best framework in java?
what are the different phases in delivering the project during development and maintenance?
What is java flatmap?
Does jvm maintain a cache by itself? Does the jvm allocate objects in heap? Is this the os heap or the heap maintained by the jvm? Why
What is a dao layer in java?
What if I write static public void instead of public static void?
What is war file in java?
What is the use of flatmap?
What is reflection in java?
What are jdk tools?
What is jsr in java?
Please can anybody explain what exactly "the project architecture" means???
Why is lambda expression used?