본문 바로가기

pungjoo

검색하기
pungjoo
프로필사진 pungjoo.kim

  • 뭘까 뭘까 (19)
    • HTTP (3)
    • JAVA (11)
    • 미분류 (4)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
  • Reference
  • unmodifiableList
  • getRequestURI
  • http/1.1
  • Transfer-Encoding
  • urlclassloader
  • reflection
  • Proxy
  • Session
  • http
  • clone
  • Keep-Alive
  • Content-Length
  • InvocationHandler
  • singleton
  • cookie
  • Java
  • toString
  • chunked
  • object
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록toString (1)

pungjoo

작성중 - toString()

0. 들어가면서 통상 객체의 필드의 내용을 확인 하는 용도로 System.out.println( someClass.toString() ); 을 많이 이용합니다. 그러나 toString을 Override를 하지 않으면 'className@hashcode' 값이됩니다. 1. 준비 운동 package info.yeonwoo.edu; public class User { private Stringname; private intage; private Stringaddress; public String getName() { return name; } public void setName( String name ) { this.name = name; } public int getAge() { return age; } p..

JAVA 2010. 7. 9. 16:46
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

DNS server, DNS service

티스토리툴바