A class in Kotlin can have a primary constructor(The header of class) and one or more secondary constructors. The primary constructor goes after the class name.
確定! 回上一頁