Computer Science, asked by harshasthana, 1 month ago

what is the work of default access specifier​

Answers

Answered by bhatianitish077
1

Default. When we don't use any keyword explicitly, Java will set a default access to a given class, method or property. The default access modifier is also called package-private, which means that all members are visible within the same package but aren't accessible from other packages: package com.

Answered by sunita2012002
1

Explanation:

Default Access Specifier

Any member of a class mentioned without any access specifier then it is considered that as Default. The Default will act as public within the same package and acts as private outside the package.

like me

Similar questions