Posted By


joshnunn on 10/29/09

Tagged


Statistics


Viewed 302 times
Favorited by 0 user(s)

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.