This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Similar Threads
XML Schema from castor has a bug?
How to create object as Serializable?
Serializable interface.
regarding Serializable
Implementing Serializable