Q13.Given the following class definition, which of the following methods could be legally placed after the comment //Here
1 J9 y0 [4 `" E A, f 1. public class Rid {! r0 C7 }" B5 L/ b& o
2. public void amethod(int i, String s){}1 T, `% X* l1 u% R, p* e
3. //Here
3 w [6 n5 {5 q 4. }
. ~2 i B0 i% M$ q a. public void amethod(String s, int i) {}% h( E' ~3 W( W. T
b. public int amethod(int i, String s) {}) B4 f0 ~4 z9 d5 p0 | q2 q% D% ^
c. public void amethod(int i, String mystring) {}$ e7 h. @3 k- \/ Z
d. public void Amethod(int i, String s) {}
" v4 \. |! X$ Y- s( Z Q14.Given the following class definition, which of the following statements would be legal after the comment //Here
4 D9 Q3 v3 A: J& e7 |" s 1. class InOut {
/ L' r' a: G5 g% ~) `" V' \! k 2. String s= new String(“Between”);
' G. E- e P8 f$ ^1 z 3. public void amethod(final int iArgs) {
# n. |) c+ Y% r# D 4. int iam;
/ e; c& k! X) H6 Y: ` 5. class Bicycle{1 _% q- C) ]9 H3 J: ]3 ?* @
6. public void sayHello(){& V% `9 m; K# v4 L. o
7. //Here; f8 g5 O/ v9 x# X6 `& T7 H
8. } //End of bicycle class
# [3 e) W6 S4 v1 t; [ 9. }3 H1 q/ |: P) f- I
$ \. Y+ u: R& U' [ U E
10. } //End of amethod |