I am a new java user. Recently I have learned that in java each statement is terminated with a semicolon (;) and each block is delimited by a pair ob curly braces - {} (please correct me if I am wrong).
But in many places I have found writers are saying that if statement. So my question is what is the difference between statement and block in java?
Thanks in advance.
Aucun commentaire:
Enregistrer un commentaire