CodesJava

Easy learning with example program codes

what are different types of access modifiers in java?


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



Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap