It's not a secret anymore!
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

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
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!