A class is a blue print defined which groups functions and properties. Classes in Kotlin are defined using the keyword class followed by the class name. The body goes inside the curly braces.
Syntax of class in Kotlin
An instance of the class is instantiated in the following way
instance of the class
Contrary to Java, new isn’t a keyword in Kotlin.
new is not a keyword