Answer Posted / nani
Private : It can access with in the class only
public :It can Access Any where in java program
proteced:It can access with in the package and sub class of
the package also
default:it access with in the java program.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What are the drawbacks for singleton class?
What is the difference between the boolean & operator and the && operator in java programming?
Explain about sets?
What do you mean by jjs in java8?
How is it possible in java programming for two string objects with identical values not to be equal under the == operator?
What are scriptlets?
What is final?
How many bytes is a string java?
Differentiate between == and equals().
What is currentthread()?
What is class level lock ?
What is the meaning of 3 dots in java?
What are reference variables in java?
Why do we need strings in java?
What is java’s garbage collected heap?