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.
š² Practice Offline on Mobile: Download the free QA Automation & SDET Prep app on Google Play & App Store.