Java Interview Questions - What is a transient variable in Java?

Answer : A transient variable is a variable that may not be serialized. If you don't want some field to be serialized, you can mark that field transient or static.

0 comments:

Post a Comment

 
Copyright © Interview Questions and answers - Blogger Theme by BloggerThemes & freecsstemplates - Sponsored by Internet Entrepreneur