In Java, the control statements are divided into three categories which are selection statements, iteration statements, and jump statements.