I am trying to use toString method and return a properly formatted string:
public String toString()
{
return (acctNumber + "\t" + name + "\t" + fmt.format(balance));
}
Should format with tabs between each variable, but for the first line, the second tab doesn't seem to apply... (fake names used in the code) This is what is printed:
72354 Ted Murphy$132.90
69713 Anita Gomez $111.52
93757 Sanchit Reddy $785.90