nerdexam
Android

OA0-002 · Question #79

OA0-002 Question #79: Real Exam Question with Answer & Explanation

Sign in or unlock OA0-002 to reveal the answer and full explanation for question #79. The question stem and answer options stay visible for context.

Question

The following JNIProb.java has been compiled, and the javah command has been run to create the header file JNIProb.h. Which is the correct code that goes into (1) of the C/C++ source file JNIProb.c created in this way?

Exhibit

OA0-002 question #79 exhibit

Options

  • Aint JNICALL Java_JNIProb_add(JNIEnv*env, jobject o, inta, intb)
  • Bjint JNICALL Java_JNIProb_add(JNIEnv*env, jobject o, jint a, jint b)
  • Cjint JNICALL add(JNIEnv *env. jobject o. int a. int b)
  • Djint JNICALL addfJNIEnv *env, jobject o. jint a. jint b)

Unlock OA0-002 to see the answer

You've previewed enough free OA0-002 questions. Unlock OA0-002 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full OA0-002 Practice