Unit-2 Prof. P. M . Pandya Access Specifiers : Access specifiers for member of a package: For the classes and interfaces that are a part of a package, they are only…