How To Use Nested If In Java