What level of security is provided by placing sensitive methods and data inside its own Java package?

What level of security is provided by placing sensitive methods and data inside its own Java
package?

What level of security is provided by placing sensitive methods and data inside its own Java
package?

A.
High security, as only approved Java classes and methods inside the package can access the
package’s data and methods

B.
Minimal security, as any java file can declare itself as part of the same package, and thus have
access to that package’s data and methods

C.
Medium security, as it depends on whether the sensitive methods and data are declared public
vs. private

D.
Minimal security unless all the methods are declared final

Explanation:



Leave a Reply 0

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