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
Which programming language is best in future?
What is the difference between jdk and jre?
What is a vector in java?
What is the static keyword?
Is overriding possible in java?
How can we access some class in another class in java?
What is an argument java?
What are "methods" and "fields"?
What is the purpose of using the java bean?
How do you execute a thread in java?
What are the advantages of encapsulation in java?
What do you mean by order of precedence and associativity?
Is java code slower than native code?
how do I create a runnable with inheritance? : Java thread
What does the string method compareto () do?