Computer Science, asked by vicky124334, 7 months ago


Write the output for the following:

System.out.println(“ 2 = ” + 1 + 1);

System.out.println(“ 2 = ” + (1 + 1) * 1);

System.out.println();

System.out.println(“ Whooops… ”);


please give answer fast please humble request..​

Answers

Answered by deekshita62
2

Answer:

OUTPUT 1

2 = 2

OUTPUT 2

2 = 2

OUTPUT 3

Nothing comes as u didn't write anything in the bracket

OUTPUT 4

Whoops...

Explanation:

hope it helps

mark me as brainlist

Similar questions