I just want to know why we take only long type serialVersionUID variable in java
`public static final long serialVersionUID = 1L;`
I mean i know how it works + what is serialization etc.
But i am just curious to know that why we only take long primitive type ? why not int or any other type?
like this
public static final int serialVersionUID = 1;
Is java specification tell us to do that?