lConsider the following snippet of code:
lpublic class PasswordFile implements Serializable {
l private String
passwd;
l …
l}
lIf we serialize this object we’ll end up writing the password to a file, because:
lObject Serialization has access to all instance variables, including private, within a serializable
class.