Android
OA0-002 · Question #16
Which is the correct explanation of the Foo.java source code?
The correct answer is D. The compile will succeed without problems. See the full explanation below for the reasoning.
Question
Which is the correct explanation of the Foo.java source code?
Exhibit
Options
- ASince mapping will occur to C/C++, int must be declared as jint.
- BString, which is a reference type, cannot be used in the native method
- CVisibility cannot be declared as private in the native method.
- DThe compile will succeed without problems.
How the community answered
(44 responses)- A16% (7)
- B9% (4)
- C5% (2)
- D70% (31)
Community Discussion
No community discussion yet for this question.
