Constructor Overloading Flashcards
1
Q
What is constructor overloading?
A
A class can have any number of constructors. These constructors will have different list of arguments. It is called constructor overloading.
2
Q
What is the use of constructor overloading?
A
Constructor overloading provides different ways to instantiate a class.
3
Q
More Java on Constructors
A
https://javaconceptoftheday.com/constructors-in-java/