When I was resolving merge conflicts, It appeared, that one of the conflict was automatically resolved by git in one of my code piece.
The code that rendered after merge conflict was:
if(condition1)
{
//Statement 1
}
{
//Statement 2
}
The code compiled and ran without any error. Is the statement 2 code piece serving as else
here? if yes, then what is the use of else
keyword?