Interviews - C# Corner

shubhangi khandale
Difference between Access specifiers and access modifiers
By shubhangi khandale in OOP/OOD on Feb 26, 2012
  • piyush sardhara
    Mar, 2012 13

    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.

    • 0
  • vamsikrishna vakati
    Feb, 2012 27

    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.

    • 0

Download Free eBooks

Most Popular Companies

Most Popular Job Functions

MOST LIKED QUESTIONS