top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What all items of an object is preserved ?

+1 vote
186 views
What all items of an object is preserved ?
posted Dec 30, 2014 by Shyam

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

When an object is serialized, only fields of an object is preserved. Methods and Constructors are not serialized. When a field is a reference to an object, the reference object is also serialized if that objects class is serializable.

answer Dec 31, 2014 by Karthick.c
...