83. How do you declare a native method?
+ l! M7 G- e% g( w% }& QA. public native method();
( w. {- f- z! Q- q5 j$ \& F8 M$ HB. public native void method();" E$ b" g% V# Y, M/ [
C. public void native method();3 W% q' ~( C( L6 V
D. public void native() {}
3 W2 A% d/ d, q6 }9 |" k* TE. public native void method() {}
- p7 M% @- S& H, U2 O1 SB.
0 k" h/ F% f# G c84. Given the following code, what is the output when a exception other than a NullPointerException is thrown?; E) ?/ u* P( I( n6 a4 l9 Y+ Z
try{: t* P4 `! o" j n
//some code
' F; J' H- m! S/ p* W/ K0 j3 n}( y/ E0 y R, i" O8 G
catch(NullPointerException e) {
" x4 A' S% R( p* @5 c ]* dSystem.out.println("thrown 1");+ e& i: r1 j7 {3 h' P: O0 e. y
}, I: p$ X& O) b/ Y$ o0 D7 V5 s" w
finally {6 n$ K, G: _1 x% e& P
System.out.println("thrown 2");
5 c0 @4 A7 n' t% }} O b6 {' y2 E% Y0 g$ X0 X
System.out.println("thrown 3");
; O( Y; b% L7 S" x# M7 A: UA thrown 1
# x- m t0 G0 g7 AB thrown 2/ y* p+ h) M0 _8 p
C thrown 32 c4 g- D) u: y% `3 S( h
D none
2 a1 s7 i4 Q; ~7 {9 u1 O' J* gBC. |