Can you call one constructor from another if a class has multiple constructors?
Question
Can you call one constructor from another if a class has multiple constructors?
Answer
Yes, use this() syntax.
Can you call one constructor from another if a class has multiple constructors?
Yes, use this() syntax.