in JAVA by
What are Brief Access Specifiers and Types of Access Specifiers?

1 Answer

0 votes

Access Specifiers are predefined keywords used to help JVM understand the scope of a variable, method, and class. We have four access specifiers.

  1. Public Access Specifier 
  2. Private Access Specifier 
  3. Protected Access Specifier 
  4. Default Access Specifier

Related questions

+1 vote
asked Jul 16, 2019 in C Plus Plus by Indian
0 votes
asked Jan 29, 2020 in AWS by SakshiSharma
0 votes
asked Apr 27, 2021 in Kubernetes K8s by Robindeniel