# Lession - #679 SCALA OPERATOR

## SCALA Operator

An operator is an symbol that advises the compiler to perform explicit mathematical or logical controls. Scala is wealthy in built-in operator and gives the Following kinds of operator −

1.Arithmetic Operators
2.Relational Operators
3.Logical Operators
4.Bitwise Operators
5.Assignment Operators

This part will inspect the number-crunching, Relational, coherent, bitwise, Assignment and different operator individually.

Arithmetic Operators
The Following math operator are upheld by Scala language. For instance, let us accept variable A holds 10 and variable B holds 20, then −
Ex : +,- ,*,/,%

Relational Operators
The Following Relational operator are upheld by Scala language. For instance let us expect variable A holds 10 and variable B holds 20, then −
EX : ==,!=,>,<,>=,<=

Logical Operators
The Following Logical operator are upheld by Scala language. For instance, expect variable A holds 1 and variable B holds 0, then, at that point, −
EX : &&,||,!

Bitwise Operators
Bitwise administrator chips away at bits and perform little by little activity. Reality tables for and, |, and ^ are as per the following −
EX &,~,>>,<<,>>>

Assignment Operators
There are following Assignment operator upheld by Scala language −
EX : +,+=,- =,*=,/=,%=,<<=,>>=,&=,|=