Computer Science, asked by ojaswiverma97, 1 month ago

what is an access specifier? ​

Answers

Answered by FoochaSer
1

Explanation:

Java Access Specifiers (also known as Visibility Specifiers ) regulate access to classes, fields and methods in Java. These Specifiers determine whether a field or method in a class, can be used or invoked by another method in another class or sub-class. Access Specifiers can be used to restrict access.

Answered by shahilkumar98102576
1

Explanation:

Access modifiers 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. In C++, there are only three access modifiers.

Similar questions