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
Is empty string in java?
What is final modifier?
What is class and its types?
Is java same as core java?
What is command line argument in java?
How to sort an unsorted array in java?
What is unmodifiable list in java?
Explain creating threads by extending thread class ?
Does java support multiple inheritance or not?
What is a method signature java?
when should you use stringbuilder class in a program?
What is the function of compareto in java?
What environment variables do I need to set on my machine in order to be able to run java programs?
Can we create constructor in abstract class ?
How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?