1.

What Are Access Modifiers?

Answer»

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.

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.



Discussion

No Comment Found