Whiteship
  • Home
  • 인프런 강의
  • Java
  • Spring
  • JPA
  • SDE Tips
Subscribe

toString

A collection of 1 post
effective java

EJ2E Item 10. toString은 항상 재정의하라.

참조:  Effective Java 2nd Edition Item 10. Always override toString JavaSE6 스펙에서 정의한 toString 제약 사항. > “a concise but informative representation that is easy for a person to read” toString은 println이나 printf를 호출할 때 자동으로 호출된다. toString을 구현할 때 결정 해야 하는 중요한 것 하나는 문서에서 반환 값 형식에 대해
Oct 31, 2008 — 1 min read
Whiteship © 2022
Powered by Ghost