Java: why does set mention all the methods in the collection

http://download.oracle.com/javase/tutorial/collections/interfaces/set.html

Why does the set interface list all the methods in the collection? Aren't these methods automatically inherited by child interfaces?

Solution

It lists all of these because the document is different, even if the declaration itself is the same

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>