Klugier Messages: 1099 Registered: September 2012 Location: Poland, Kraków
Senior Contributor
Hello Amin,
Welcome on our forunm
This is easy, because you have return statement within if block, so else if is redundant. The execution of if block will be break anyway. If there will be no return statement within if block, then you should use "else if" instead of "if" for performance reasons you have mentioned in your message.