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
Is java hashset ordered?
What is the range of a character variable?
Is a boolean variable?
how do I create a runnable with inheritance? : Java thread
How do you check if a string is lexicographically in java?
What is parsing a string?
List the three steps for creating an object for a class?
What is java life cycle?
What is meant by structural programming?
What are the main differences between the java platform and other platforms?
How do you sort a set in java?
What is :: operator in java?
What is java in detail?
What is the difference between Java1.4 and Java1.5
What is a java predicate?