0
What could be in one class contains two constructors or more?
2 Answers
+ 1
a single class can contain as many constructor you want expect the no of parameter must be different in every constructor.
want to know more just search for constructor overloading.
0
Sample (int, double)
Sample (int, String)
Both can be constructor of Sample class at the same time. The rule you must follow is the difference between parameters