why to use transient variables when static variables can be
used for Serialization

Answer Posted / yogesh

A transient variable is a variable that may not be serialized.

Is This Answer Correct ?    4 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a hashset contain duplicates java?

587


Can inner class extend any class?

708


What is default locale java?

657


What is classes in java?

596


Can each java object keep track of all the threads that want to exclusively access it?

622






Explain thread in java?

759


What is the full meaning of java?

628


What is java dot?

576


What is classname class in java?

632


Is java a super set of javascript?

703


How do you do descending order in java?

609


What does string [] args mean?

629


What is the null?

658


What is difference between synchronize and concurrent collection in java?

615


how its run?

688