Computer Science, asked by pandulikhith6280, 1 month ago

What is the output? System.out.println((-7>-19)||(-5>-9))

Answers

Answered by atrs7391
0

Answer:

The output: true

Explanation:

The output will be true because, the condition is given that whether -7 is greater than -19 [(-7>-19)] OR [||] -5 is greater than -9 [(-5>-9)]. If any of the condition is true, the output will be true and here both the cases are true, so obviously the output will be true.

Similar questions