assignment statement
- is a statement to assgin values to untyped variables:
- Multiple values can be assigned to multiple variables at once.
- It's required to assign one or more values to one or more variables with
=. annotated assignment statement
- is a statement to assgin a value to a typed variable:
- Only a single value can be assigned to a single variable at once.
- It's optional to assign a single value to a single variable with
=.
- is a kind of an assignment statement.
Top comments (0)