class in Kotlin
Classes are declared by using the class keyword followed by an identifier. * Kotlin class does not have class-level access modifier. * The name of the class follows the class keyword. The name of the class must be a valid identifier. * The remainder is the class body, where the class members are defined, including fields, and methods. ``` //[class] - [identifier] class Main { // Fields and methods go here... } fun main() { var m = Main(); println(m); } ```