what are access specifiers?
Answers
Answered by
5
An access specifier is a defining code element that can determine which elements of a program are allowed to access a specific variable or other piece of data.
mark me brainliest
Answered by
3
Answer:
•Access modifiers (or access specifiers) are keywords in object-oriented languages that set the accessibility of classes, methods, and other members.
•Access modifiers are a specific part of programming language syntax used to facilitate the encapsulation of components. A class cannot be declared as private.
Similar questions