Answer Posted / ashish shinkar
there are 4 access specifier in java
1: private
2: default
3: protected
4: public
| Is This Answer Correct ? | 15 Yes | 10 No |
Post New Answer View All Answers
What is a class in java?
can java object be locked down for exclusive use by a given thread? : Java thread
Which are the two subclasses under exception class?
What is the difference between Array and Hash Table?
What is treeset in java collection?
What is scope & storage allocation of static, local and register variables? Explain with an example.
Is java a software?
Explain restrictions for using anonymous inner classes?
Variables used in a switch statement can be used with which datatypes?
What is set in java?
Define packages in java?
What are different types of control structures?
What happens if I remove static from main method?
What are keywords in java?
What are three ways in which a thread can enter the waiting state in java programming?