June 16, 2011

Difference between Access Specifiers and Access Modifiers?


Access specifiers :: 

The access specifier determines how accessible the field is 
to code in other classes. Access ranges from totally 
accessible to totally inaccessible. You can optionally 
declare a field with an access specifier keyword: public, 
private, or protected.


Access Modifiers  ::

You can optionally declare a field with a modifier keyword: 
final or volatile and/or static and/or transient.

No comments:

Post a Comment

I'm certainly not an expert, but I'll try my hardest to explain what I do know and research what I don't know.

My Favorite Site's List

#update below script more than 500 posts