Variable serialVersionUID

3 messages Options
Embed this post
Permalink
chver45

Variable serialVersionUID

Reply Threaded More More options
Print post
Permalink
Bonjour,

j'aimerais savoir à quoi sert cette ligne de code :

        private static final long serialVersionUID = 110110105L;

On identifie notre version, mais cette variable ne semble pas être réutilisée.

Merci
dzenanr

Re: Variable serialVersionUID

Reply Threaded More More options
Print post
Permalink
GuillaumeCharest

Re: Variable serialVersionUID

Reply Threaded More More options
Print post
Permalink
In reply to this post by chver45
Dans le fond, comme le dit le professeur, ce n'est pas important pour nous.  Il s'agit probablement de variables qui vont être utilisées par l'engin ou alors c'est peut-être même un héritage de programmation.
Guillaume Charest
-------
"Once we accept our limits, we go beyond them." Albert Einstein