The way to represent this in Java is using a sealed interface, which provides an explicit list of types which are allowed to implement it. public sealed ...
確定! 回上一頁