0
why we can omitt curly braces when we have only one statment after "if" and "else" statement??
4 Respostas
+ 2
No need for curly brackets for one line.
But you can also used brackets in code for yourself for understanding
Optional
0
it is just good practice to use them
0
Means it is just grammer..but behind this grammer rule there might be some reson