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.
=> Private.
=> Protected.
=> Public.
=> Friend.
=> Protected Friend.
No comments:
Post a Comment