What is the purpose of the “transient” keyword in Java?
brindha18 Answered question September 7, 2023
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 September 7, 2023
