Last active
June 15, 2020 07:45
Transient 개념 설명 예시
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Member implements Serializable { | |
private String name; | |
private String email; | |
private int age; | |
public Member(String name, String email, int age) { | |
this.name = name; | |
this.email = email; | |
this.age = age; | |
} | |
@Override | |
public String toString() { | |
return String.format("My name is %s, email is %s, age is %d}", name, email, age); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment