Saturday, 3 March 2012

Difference between Access specifiers and access modifiers ?

Access specifiers  
The access specifier determines how accessible the field is 
to code in other classes.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: 
volatile and static.

No comments:

Post a Comment