If you do not specify any access level modifier, the default access level will be ________.

  • package-private
  • private
  • protected
  • public
If you do not specify any access level modifier in Java, the default access level will be "package-private" or sometimes referred to as "default." This means that the class, method, or variable is accessible within the same package.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *