CompTIA
ADR-001 · Question #23
Which of the following describes why a developer should define private wrappers around native and public native methods?
The correct answer is A. To prevent untrusted callers from invoking native methods. See the full explanation below for the reasoning.
Question
Which of the following describes why a developer should define private wrappers around native and public native methods?
Options
- ATo prevent untrusted callers from invoking native methods.
- BTo filter data that is sent to the native methods.
- CBecause native methods cannot be called directly.
- DTo impose naming convention on methods.
How the community answered
(40 responses)- A70% (28)
- B5% (2)
- C8% (3)
- D18% (7)
Community Discussion
No community discussion yet for this question.