Marcus
What is the need of transient variables in Java ?
By Marcus in Java on Jul 11 2011
  • johnpaulmathew
    Jul, 2011 20

    Variables may be marked transient to indicate that they are not part of the persistent state of an object.
    __________________________________________

    MBA consultants in India

    • 0
  • Vulpes
    Jul, 2011 17

    If you mark an instance field of a Java class as 'transient', it means that it is not part of the persistent state of  an object of that class.

    Its main use is when you're serializing an object. Any fields marked as 'transient' are simply ignored in the serialization process. This is equivalent in C# to marking a field with the NonSerialized attribute.

    • 0
  • Ravi  Prakash
    Jul, 2011 12

    which type send me [email protected]


    when u achived

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS