Syntax is a significant part of the programming language, defining a set of rules that must be applied to combinations of symbols. Otherwise, a program can't be compiled, and will be considered incorrect.
This section will describe the basic syntax of Kotlin, covering the following topics:
- Defining packages
- Defining variables
- Defining functions
- Defining classes