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 a generic type?
Explain importance of inheritance in java?
What is polymorphism java example?
what is mutual exclusion? : Java thread
What do you mean by chromounits in java8?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?
Can we declare a static variable inside a method?
How do we access static members in java?
How big is a pointer?
How do you sort arraylist in descending order?
What is use of map in java?
can rmi and corba based applications interact ?
Should database connections be singleton?
Explain a situation where finally block will not be executed?
What is the purpose of format function?