Types of constructors in C++, Java, :

  1. Default
  2. Parameterized
  3. Copy
  4. Move (C++ only)

There are two types of constructors in Kotlin:

  1. Primary constructor
  2. Secondary constructor