Computer Science, asked by harshasthana, 1 month ago

what is the work of default access specifier​

Answers

Answered by mahwishnaz072021
0

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 trolltz123
0

Answer:

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 not accessible for other packages.

Similar questions