Please take a look at two sections firstCodePackage COM. jadyer. base; <br/> public class user implements Java. io. serializable {<br/> Private Static final long serialversionuid = 2035637204889097968l; </P> <p> private integer age; </P> <p> Public integer getage () {<br/> return age; <br/>}</P> <p> Public void setage (integer age) {<br/> This. age = age; <br/>}< br/>}
Package COM. jadyer. base; <br/> Import Java. io. serializable; <br/> public class user implements serializable {<br/> Private Static final long serialversionuid = 2035637204889097968l; </P> <p> private integer age; </P> <p> Public integer getage () {<br/> return age; <br/>}</P> <p> Public void setage (integer age) {<br/> This. age = age; <br/>}< br/>}
The serialization interface is also implemented, so what are the differences between the two writing methods that will lead to JVM underlying processing ......