如果你implements 了 Serializable接口 但是没写 UID,eclipse会在你的类名边上有一个警告,你点击一下,有一个选项自动生成 UID,所以请用eclipse写java代码
java Serializable 生成随机序列
原创mb61c3f0ed6fce2 ©著作权
©著作权归作者所有:来自51CTO博客作者mb61c3f0ed6fce2的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
8种超简单的Golang生成随机字符串方式
go语言中,有没有什么最快最简单的方法,用来生成只包含英文字母的随机字符串。
go语言 Bytes Golang