reset password
Author Message
jgarc629
Posts: 76
Posted 18:10 Nov 17, 2017 |

When using Binary, do we have to implement Serializable?

Arnav98
Posts: 48
Posted 19:47 Nov 17, 2017 |

I didnt and my lab works perfectly fine.

jhurley
Posts: 207
Posted 09:09 Nov 18, 2017 |

no, the persistence classes themselves do not have to implement Serializable.  That was a typo in my lecture.  Anything you actually save with binary file io has to be Serializable.