Friday, 4 January 2013

What are access modifiers? | OOPS

Access modifiers determine the scope of the method or variables that can be accessed from other various objects or classes. There are 5 types of access modifiers , and they are as follows:-
=> Private.
=> Protected.
=> Public.
=> Friend.
=> Protected Friend.

No comments: