What is a Transient Object?
Answer / Pravin Kumar Pndey
A transient object or variable in Java is used to ignore certain fields during serialization. When a class is serialized, all its non-transient instance variables are written into the output stream. By marking an instance variable as transient, you can prevent it from being serialized.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you create an array in java?
Why volatile is used in java?
When you Click a Button, What event will be fired?
How do you check if a number is a perfect square?
What is OOP's Terms with explanation?
1 Answers Beahead Private Limited,
What initialize variables?
Is java developer a good career?
What is java life cycle?
how to pass the parameters to applets?
What is the difference between JVM and JRE?
What does bitwise or mean?
How does split work in java?