Answer Posted / niranjanravi
we have 4 access modifiers in java.
public
private
protected
default
Is This Answer Correct ? | 14 Yes | 5 No |
Post New Answer View All Answers
What is java basic concept?
Why is the main method static?
Can a class extends itself in java?
What is e in java?
What is initial size of arraylist in java?
Is a class subclass of itself?
What is the final class?
Which containers use a flowlayout as their default layout in java programming?
What are methods?
What does singleton mean in java?
how to create multithreaded program? : Java thread
Implementations of set interface?
Why is a string immutable?
Can we assign integer value to char in java?
Why we use protected in java?