Complete the code to declare a simple class named Person.
class [1]
The class name should start with a capital letter and match the intended name Person.
Complete the code to declare a class named Car with an empty body.
class Car [1]
In Kotlin, the class body is enclosed in curly braces {}. An empty body means just opening and closing braces.
Fix the error in the class declaration by completing the code.
class Person [1]
The class body must start with a curly brace { to be syntactically correct.
Fill both blanks to declare a class named Book with an empty body.
class [1] [2]
The class name is Book and the empty body is {}.
Fill all three blanks to declare a class named Animal with a primary constructor that takes a name parameter of type String.
class [1]([2]: [3]) {}
The class name is Animal. The constructor parameter is name of type String.