Java Program to Check if two of three boolean variables are true | Vultr Docs