i have a class month, day and year
my toSring() is
public
String toString()
{
String report;
report = "+ month / + day / + year";
//report = report + "+ day";
//report = report + "+ year";
return report;
}
i take out the 2 lines of // because the assignment asks me to do
toString(): String [in the format of mm/dd/yyyy
is my toString method correct? thanks.