There are five types of access modifiers being used:

  1. Private
  2. Public
  3. Protected
  4. Internal
  5. Protected Internal

We will discuss each of these in detail.