Page 1 of 1

About Question enthuware.ocpjp.v7.2.1703 :

Posted: Wed May 07, 2014 9:13 am
by Elmcrest
I was surprised to see that
public static final int serialVersionUID = 1;
actually works, especially since the Serializable Javadoc (http://docs.oracle.com/javase/7/docs/ap ... zable.html) explicitly says that it must be of type long.
Maybe int is used by a mistake in the question? (Or are you just so devilish to include this on purpose? :)) I don't know, however I tested it for myself, it really works...

Re: About Question enthuware.ocpjp.v7.2.1703 :

Posted: Wed May 07, 2014 9:48 am
by admin
You are right. It should be long. Fixed.
thank you for your feedback!
-Paul.