Ok, but if I had to create that specific object as it was before the serialization?
Type: Posts; User: Haring01
Ok, but if I had to create that specific object as it was before the serialization?
I thought to use instanceof but there'd be 20 deserialized objects or more, so it wouldn't be "elegant" to make so many if-cases. Using the getClass() method how do I proceed? Class<?> c =...
I have a problem about an objects deserialization: I serialized some objects different from one another but extend a X class. These objects are serialized in a random way and i don't know the correct...