Access Modifier

exercise No. 265

Q:

Which is the most restrictive access modifier still allowing access to other method's classes within the same package?

  1. public

  2. protected

  3. abstract

  4. default access / omitted

  5. final

A:

default access / omitted