serialVersionUID code example Example: serialversionuid java ANY-ACCESS-MODIFIER static final long serialVersionUID = 42L;