Enquire Now

Tags: primary-constructor

Primary constructors are a feature you’ll find in a few programming languages, including F#, Scala, and Kotlin. A primary constructor allows the coder to define a constructor for a type and capture the constructor parameters to use in initialization expressions throughout the rest of the type definition.

0 Questions