shubhangi khandale
Difference between Access specifiers and access modifiers
Posted by shubhangi khandale in OOP/OOD on Feb 26, 2012
  • 0
  • 2
  • 23933
Do you know the answer for this question? Post it below.
Guest
Posted by piyush sardhara on Mar 13, 2012
  • 0

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, abstract, etc.

Posted by vamsikrishna vakati on Feb 27, 2012
  • 0

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.