An Introduction to Operators
In the following lesson, you will be given an overview of the operators Scala provides.
Operators are symbols that perform operations used for modifying or manipulating data. Manipulating data is an essential part of any programming language, and Scala is no different, providing a rich set of operators for its basic types.
Types of Operators
As far as built-in operators go, Scala provides the following five types.
- Arithmetic Operators
- Relational Operators
- Logical Operators