posted 19 years ago
public class TestClass
{
// insert declaration of a native method here
}
which of the following is correct,
1. native public void nativeMethod(int i);
2. private native void nativeMethod(int i);
3. protected int native nativeMethod();
4. public abstract native void nativeMethod(int i);
5. native int nativeMethod(int i) {}
Please give answer with explanation.
[ December 14, 2005: Message edited by: Purujit Saha ]
[ December 14, 2005: Message edited by: Purujit Saha ]
[ December 14, 2005: Message edited by: Purujit Saha ]