Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

hi can you help me with this?

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]

______________________________________________________________________________________

______________________________________________________________________________________

______________________________________________________________________________________

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question