what is the Diff. between Access Specifiers and Access
Modifiers?
Answer Posted / sujit kumar nishank
Access specifier :- it is used in java when we declare a method,viarable or class then it specify how it access to other classes .
. it is of 4 types
public(access everywhere like any classes and any package and inherited)
private(access itself with in the package and it is not inherited)
protected(access any classes with in the same package and it is inherited)
defaults(it same as protected but not inherited )
access modifier
final
static
abstract
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Does collectionutils isempty check for null?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
What is the replace tool?
What does int argc char * argv [] mean?
What are the benefits of immutable objects?
Does A Class Inherit The Constructors Of Its Superclass?
What is the disadvantage of java?
Is 0 true or false in java?
What method is used to specify a container's layout in java programming?
Is null function in java?
What are the 4 types of characters?
What is deserialization?
5 Coding best practices you learned in java?
Can we declare register variable as global?
How to overcome the exception object reference not set to an instance of object?