Tagging Interfaces in Java

前端 未结 8 2261
时光说笑
时光说笑 2021-01-02 06:26

What are tagging interfaces and what are they used for?

8条回答
  •  北荒
    北荒 (楼主)
    2021-01-02 06:47

    It was used to mentioned some property of a class (like Serializable shows, that the class is allowed to serialize). Now annotations could do this job.

提交回复
热议问题