This requires a bit of explanation, because it is significantly different from both Java and Scala.

It is my understanding that there are no primary constructors in Java, though in the case of constructor chaining, the constructor with the most parameters could perhaps be considered the primary constructor.

Scala also fuses the primary constructor to the class declaration, but the designers of Kotlin seem to have expanded further on that idea.

So coming from Scala, this is familiar but does require some explanations.

is a composer and photographer from Detroit, Michigan. He has been working on a Java program to display certain mathematical diagrams.