Answer Posted / anjani kumar jha
There are four access specifiers are available in java
Public-----------access to all
Private---------limited to class only
Protected---------limited to sub package of class
Default------------limited to same package
| Is This Answer Correct ? | 52 Yes | 10 No |
Post New Answer View All Answers
What is meant by anonymous class?
What is linkedlist in java?
What is the largest number a double can hold?
Why map is used in java?
What is protected in java?
What is meant by object?
What is difference between float and double?
Explain the importance of join() method in thread class?
Differentiate between postfix and prefix operators in java.
What is a native method in java programming?
Why is singleton class used?
What are the different ways to handle exceptions?
What is the difference between variable declaration and variable initialization?
List down the methods and interfaces of collection class in java.
How to reverse a string in java?