can you cast an int to a boolean value in java code example
Example: java cast int to boolean
boolean result = (myBinaryInt == 1);
boolean result2 = (myNonBinaryInt >= 1);
boolean result = (myBinaryInt == 1);
boolean result2 = (myNonBinaryInt >= 1);