What is the difference between Access Modifier and Access
specifier?
Answer Posted / nilesh.bhil@gmail.com
Access Modifier can define the ristrict level of visibility.
There are three types of Access Modifier.
1)Private
2)Protected
3)Public
There are four types of Access Mode.
1)Private
2)Protected
3)Public
4)Default or Pakage mode
Access specifiers define behaviour level of visibility.
The Access Specifier are
abstract, static, final, strictfp etc.
Is This Answer Correct ? | 10 Yes | 7 No |
Post New Answer View All Answers
Why does java have two ways to create child threads?
What is boolean query?
What is adapter in java?
How do you use compareto in java?
Can you declare an interface method static?
What is :: operator in java 8?
Explain the hierarchy of java exception classes?
What is the collections api in java programming?
define the terminology association.
Is java programming easy?
What is hashing in java?
Why main function is static?
how can you catch multiple exceptions in java?
What is a class reference?
What restrictions are placed on method overloading in java programming?