객체 하나만 만들어서 공유해서 쓰는 방법private static UserDAO instance = new UserDAO(); private UserDAO() {} public static UserDAO getInstance() { return instance; }