Java uses the temporary keyword to prevent serialization. Any data structure object that is declared as a transitory will not be serialized. The process of turning an object into a stream of bytes is known as serialization.
Vishalini.R Answered question
