PPT Slide
A class may have more than one constructor.
If so, then each constructor must have unique formal parameter list.
Constructor calls must match one of the available constructors
Terminology: Creating multiple methods with same identifier is called “method overloading.”
public String (String value)
String strInput1 = new String ( );
String strInput2 = new String
(“A valid constructor.”);
strInput1 will be an empty
String (with the value ““)
strInput2 will be a String containing