toString (satisfactory)


/ Published in: Java
Save to your folder(s)

This was my toString method that got me a "Satisfactory" rather than "Outstanding"


Copy this code and paste it in your HTML
  1. public String toString() {
  2. return super.toString() +
  3. " [Place: " +
  4. place +
  5. "; State: " +
  6. state +
  7. "; Postcode: " +
  8. postcode +
  9. "; Country: " +
  10. country;
  11. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.