Answered>Order 4872

hi can you help me with this?

given this

class Mystery

{

public static void main(String[] arg)

{

int i = 10;

int j = 12;

if (i < j || i = 3)

System.out.println(“i is “ +  i );

}

}

(a) On the space provided below, write what you think will result when you attempt to compile the program.

[1 mark]

_______________________________________________________________________________

_______________________________________________________________________________

(b) If the program did not compile fix the error(s). Write the correction in the space provided below. [3 marks]

______________________________________________________________________________________

______________________________________________________________________________________

______________________________________________________________________________________

 
"Not answered?"
Get the Answer