Example Of Logical Operators Java