Question: What is transient variable in java?

Solution: A transient variable is a variable that cannot be serialized.