Q:

Determine whether the number is zero or not without using if else

I want to know how to check the given number is zero or not without using any conditional statements like if else,try catch.

A:

For java, refer to this link, i had the same question and here's where i found the answer. Try this link below, It's using bit-wise operators.
https://www.geeksforgeeks.org/check-number-positive-negative-zero-using-bit-operators/

