Yes, Comparator is a functional interface. The equals is an abstract method overriding one of the public methods of java.lang.
確定! 回上一頁