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 list is sorted in java?
What are the pillars of java?
what is collatration?
What does || || mean in math?
Is array passed by reference in java?
What is garbage collection? Can it be forced to run?
What's the difference between comparison done by equals method and == operator?
what is thread? What are the high-level thread states? : Java thread
Can you override private or static method in java?
What is string made of?
Is hashmap thread safe?
What is the difference between post and put?
Can an interface implement another interface?
Implement a stack with push (), pop() and min() in O(1) time.
What is math exp in java?