What is the result?

<code>
int i, j=0;
i = (3* 2 +4 +5 ) ;
j = (3 * ((2+4) + 5));
System.out.println(“i:”+ i + “\nj”:+j);
</code>
What is the result?


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



Leave a Reply 0

Your email address will not be published. Required fields are marked *