CompTIA
ADR-001 · Question #15
What level of security is provided by placing sensitive methods and data inside its own Java package?
The correct answer is B. Minimal security, as any java file can declare itself as part of the same package, and thus have. See the full explanation below for the reasoning.
Question
What level of security is provided by placing sensitive methods and data inside its own Java package?
Options
- AHigh security, as only approved Java classes and methods inside the package can access the
- BMinimal security, as any java file can declare itself as part of the same package, and thus have
- CMedium security, as it depends on whether the sensitive methods and data are declared public vs.
- DMinimal security unless all the methods are declared final
How the community answered
(38 responses)- A16% (6)
- B74% (28)
- C8% (3)
- D3% (1)
Community Discussion
No community discussion yet for this question.