File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Serializable object inheritance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Serializable object inheritance" Watch "Serializable object inheritance" New topic

Serializable object inheritance

Alex Kravets
Ranch Hand

Joined: Jan 24, 2001
Posts: 476
Hello folks,

I was talking to my friend about Serialization and question arouse...

If I have an object that is Serializable, if I create a class that extends my Serializable class, will the new object be also Serializable?


All right brain, you don't like me and I don't like you, but let's just do this one thing so I can get back to killing you with beer.<br /> <br />- Homer Simpson
I agree. Here's the link:
subject: Serializable object inheritance
It's not a secret anymore!