2
Reply

Difference between Access specifiers and access modifiers

shubhangi khandale

shubhangi khandale

Feb 26, 2012
29k
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.

    piyush sardhara
    March 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.

    vamsikrishna vakati
    February 27, 2012
    0