0 votes
in Kotlin by
How many constructors are available in Kotlin?

1 Answer

0 votes
by

Two types of constructors available in Kotlin are:

  1. Primary constructor
  2. Secondary constructor

Related questions

0 votes
asked Oct 5, 2021 in Kotlin by rajeshsharma
0 votes
asked May 26, 2022 in Kotlin by Robin
...