Member-only story
Complete Kotlin Tutorial: Part 6 (Working with Operators)
12 min readMay 22, 2022
If you are new to this series, start from here
The previous post, Part 5 is here
Now, let’s continue with our journey by understanding what operators are and making use of them in our Kotlin code.

Operators are special symbols that are meant to perform special calculations, comparisons, and logical manipulations. And the variables on which these operations are performed are called Operands. For example, in x + y; x and y are operands and + (plus) is the operator.
These are the types of operators available in Kotlin-
- Arithmetic Operators
- Assignment Operators
- Relational/Comparison Operators
- Logical Operators
- Unary Operators
- Bitwise Operators
Arithmetic Operators
These operators are capable of doing basic operations.
- plus (+) → Addition
- hyphen (-) → Subtraction
- asterisk (*) → Multiplication
- forward-slash (/) → Division
- percent (%) → Modulus (getting the remainder after division)