The transient keyword may be applied to member variables of a class to indicate that the member variable should not be serialized when the containing class instance is serialized.
public class MyClass
{
private transient String password;
}
None.