Results 1 to 2 of 2
Thread: Serialization of Derived classes
- 07-11-2011, 01:45 PM #1Member
- Join Date
- Jul 2011
- Rep Power
Serialization of Derived classes
I am trying to send via server - serialized classes
problem is i got one base class and 10 derived classes from it.
now, when i do deserialization of "Derived class 2" how do i know what to cast it back in the client ?
it can by any of the 10 Derived or even the Base itself.
- 07-11-2011, 07:28 PM #2
- By garrym in forum New To JavaReplies: 12Last Post: 05-18-2011, 01:49 PM
- By elsa14290 in forum Advanced JavaReplies: 1Last Post: 02-06-2010, 05:03 PM
- By thayalan in forum Advanced JavaReplies: 4Last Post: 08-03-2009, 10:22 PM
- By bishnu in forum New To JavaReplies: 0Last Post: 12-19-2008, 10:13 AM
- By Java Tip in forum java.ioReplies: 0Last Post: 04-04-2008, 02:47 PM