I have one doubt about serialization topic...!!!
Where does the object gets created when we de-serialize the object from the file??
Is it
Heap , Stack or a temporary storage??
According to me , It will be stack....Because the reference to that deserialized object is declared within the method(in which you are de-serializing ) itself .
Please correct , if I am wrong ???
and Suggest the answer with clarification.....!!!