Home » JAVA Programming » Modifier Types » Question
  1. Which is the modifier when there is none mentioned explicitly?
    1. private
    2. public
    3. default
    4. protected
    5. None of these
Correct Option: C

Default is the access modifier when none is defined explicitly. It means the member (method or variable) can be accessed within the same package.



Your comments will be displayed only after manual approval.