Why Java Has transient Fields: Serialization Explained | CodeTrail