|
Yeah but you need a constructor with the right signature. If you are going to pass it two Strings, then you need a constructor that handles two Strings like the one I put above. It is possible and usually a good idea to have more than one constructor.
|