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
Why are variables important in research?
What is method overloading in java ?
Is 0 an even number?
What is the memory leak in java?
What are void pointers?
Does java allow default arguments?
How to Sort Strings which are given in List and display in ascending order without using java api.
Can constructor be protected in java?
Which method cannot be overridden in java?
What is the benefit of using enum to declare a constant?
What are memory tables?
Why inputstreamreader is used in java?
What is a war file?
Is null or empty java?
What does those terms actually mean included in the j.d.k i.6?