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
Which variables are stored in heap?
What is a programming object?
What’s the difference between constructors and other methods?
What state does a thread enter when it terminates its processing in java programming?
What is null in java?
Is java an ide?
Can we override private method?
can I implement my own start() method? : Java thread
What exceptions occur during serialization?
What is the difference between dom and sax parser in java?
Can I import same package/class twice?
What are 5 boolean operators?
What is arraylist class in java?
How do you ensure that n threads can access n resources without deadlock?
Do I need to import java.lang package any time? Why?