Semicolon in Swift

Swift does not require us to use semicolon at the end of each statements although we can do so without triggering any error but we must separate multiple statements in a single line with a semicolon to prevent error.

Leave a Reply