Is it possible to define multiple constructors for a class ?
Is this statement still valid here ?
StackOverflow
I have a Java class with 7 different ways to build a constructor (also with different data types).
Greetings
Is it possible to define multiple constructors for a class ?
Is this statement still valid here ?
StackOverflow
I have a Java class with 7 different ways to build a constructor (also with different data types).
Greetings
Here’s an example how to describe an extern class with multiple constructors:
https://github.com/HaxeFoundation/haxe/blob/7ae69994422a17dce5adb198ce6fafe9ce3f67c7/std/java/lang/Boolean.hx#L37-L38
© 2018-2020 Haxe Foundation - Powered by Discourse