Easy learning with example program codes

java interview questions and answers on access modifiers

Access modifiers:

Access modifiers are keywords used for defining accessibility of classes, methods and data members.

Types of access modifier.

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

Java interview questions on access modifiers

Please follow and like us:

Copyright © 2020 CodesJava Protection Status