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
What is difference between map and flatmap in java 8?
What is a java proxy?
What is the locale class?
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.
Explain the inheritance principle.
Does ms edge support java?
What is default constructor in java?
How long can a lambda function run?
How do you find lambda?
What is the content reside in Use case Document?
what is the package for freshers in valuelabs.
What is java api?
Define network programming?
i have client interview in TCS.client is CITI BANK.how to face it,what type of questions they will ask,please tell send me to kumar525job@gmail.com
What is the difference between the boolean & operator and the && operator?