Why does Java have transient fields?
It's needed when you don't want to share some sensitive data that go with serialization.