About Question enthuware.ocpjp.v7.2.1703 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
Elmcrest
Posts: 12
Joined: Sat Apr 20, 2013 10:06 am
Contact:

About Question enthuware.ocpjp.v7.2.1703 :

Post 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...

admin
Site Admin
Posts: 10389
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin »

You are right. It should be long. Fixed.
thank you for your feedback!
-Paul.

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests