实现Serializable接口的Java类 [英] Java classes that implement the Serializable interface
本文介绍了实现Serializable接口的Java类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要一个实现Serializable的类列表。
你能告诉我哪种类实现了这个接口吗?
I need a list of classes that implement Serializable. Could you also tell me what kind of classes implement that interface?
推荐答案
在Java API中,大多数类实现Serializable(此处是一个完整的清单)。需要序列化的类实现Serializable。您可以使用IDE查找项目中接口的所有实现者。
In the Java API, most of the classes implement Serializable (here is a full list). Classes that need to be serialized implement Serializable. You can use an IDE to find all implementors of an interface in your project.
这篇关于实现Serializable接口的Java类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文