what's the difference between the below two, are they both one and the same?
if(condition){
//code
}else{
if(condition){
//code
}
}
if(condition){
//code
}else if(condition){
//code
}