sabato 30 marzo 2013

Q98


       int i, j=0;

       i = (3* 2 +4 +5 ) ;

       j = (3 * ((2+4) + 5));

       System.out.println("i:"+ i + "\nj:"+j);

What is the result?

A.
i: 16
j: 33

B.
i: 15
j: 33

C.
i: 33
j: 23

D.
i: 15
j: 23

 Risposta B

Nessun commento:

Posta un commento