[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: serialVersionUID in abstract classes

Dave Wegener a écrit :
How many abstract classes do you have that need a serialVersionUID? There is nothing special about the value generated for the ID. Any value can do. If there aren't that many abstract classes, you can manually add the serialVersionUID code. You can use the same value for all classes.
Could you please give an example where you need a serialVersionUID field on an abstract class? Since abstract class cannot be instanciated, I don't see why you would need it.
Thanks,
--
Olivier