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
Explain the selection sort algorithm and state its time complexity?
What is binary tree in java?
What is the functionality of the stub?
What is the function of static in java?
What is contractor means and methods?
What is the basic concept of java?
What is difference between protected and private?
Does isempty check for null?
What is an error in java?
Can you start a thread twice in Java?
Explain the different forms of polymorphism?
How can we achieve thread safety in java?
Add a value x to array from index l to r where 0 <= l <= r <= n-1
What are different types of inner classes ?
What is the difference between char and char *?