Java provides selection statements, such statements can be used where you have to choose actions with two or more then two alternative options. Such statements enrich to take frequent decision based on particular situation. The pseducode of if-else structure is as follows. if (boolean Expression){   statements;  } else {   statements;  } Flow chart