What is the purpose of Serialization in Java?

前端 未结 8 2386
花落未央
花落未央 2020-11-29 15:29

I have read quite a number of articles on Serialization and how it is so nice and great but none of the arguments were convincing enough. I am wondering if someone can reall

8条回答
  •  北荒
    北荒 (楼主)
    2020-11-29 16:05

    I use serialized objects to standardize the arguments I pass to functions or class constructors. Passing one serialized bean is much cleaner than a long list of arguments. The result is code that is easier to read and debug.

提交回复
热议问题