Non Serializable

A

andrewzzz

What is a a non serializable object and class and how do I recognize
them?
Thank you guys!
 
A

Andrew Thompson

andrewzzz said:
What is a a non serializable object and class

One that does not implement 'Serializable'
.. and how do I recognize them?

Perhaps *you* should finish this homework*.

* /google the rest/do some legwork..

Andrew T.
 
C

ck

andrewzzz said:
What is a a non serializable object and class and how do I recognize
them?
Thank you guys!

Any class that does not implement Serializable interface (implicitly or
explicitly) would be non serializable class, and its object would non
serializable objects. Classes that do not implement this interface will
not have any of their state serialized or deserialized.

Cheers,
Ck
http://www.gfour.net
 
D

Daniel Dyer

One that does not implement 'Serializable'

A class can implement Serializable and still not be serializable. This is
the case if it has any non-Serializable, non-transient instance fields.

Dan.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top