Posted By

joshnunn on 10/29/09


Tagged

method toString super satisfactory


Versions (?)

toString (outstanding)


 / Published in: Java
 

This was how I should have done it.

  1. public String toString() {
  2. return super.toString() +
  3. " [Place: " + place +
  4. "; State: " + state +
  5. "; Postcode: " + postcode +
  6. "; Country: " + country;
  7. }

Report this snippet  

You need to login to post a comment.