if(condition)
{
..................
..................
}
else //no need to put condition....if you want to put condition means then better you can choose " else if(condition)" ...