what is the Diff. between Access Specifiers and Access
Modifiers?
Answer Posted / santosh kumar(siddhu)
Acess specifer gives some boundry to access.
these r 1)Public(boundry:any where with in package and
outside of package)
2)Private(Boundry:within class scope only)
3)Defult(Boundry:within package scope only)
4)Protected(Boundry:within package scope and
outside subclass of this package class)
Acess modifier change the properties,Behaviour
these are
Public
Abstract
Final
Static
Volatile
Synchronized
Transient
Native
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
What is method with example?
What means public static?
Can a static class have a constructor java?
Can you add null to a list java?
What does localhost mean?
What is xslt in java?
What is the SimpleTimeZone class?
Do I need java on my pc?
Why synchronization is important?
What is the finalize method do?
difference between byte stream class and character stream class?
What is the maximum size of hashmap in java?
What is lazy initialization in java?
How does enum work in java?
How arrays are stored in memory in java?