4 Matching Annotations
- Dec 2022
-
www.zhihu.com www.zhihu.com
-
Java8引入Lambda表达式的利弊?
Tags
Annotators
URL
-
-
www.zhihu.com www.zhihu.com
-
Java 8接口有default method后是不是可以放弃抽象类了?
Tags
Annotators
URL
-
-
www.zhihu.com www.zhihu.com
-
Java8 Functional Interface 疑问?
Tags
Annotators
URL
-
- Jul 2021
-
www.flowerbrackets.com www.flowerbrackets.com
-
Interface is collection of methods of abstract type (having empty body). It’s similar to Abstract class. Interface is blueprint of class. Interface specify what class must do and not how to.
A class which implements interface should define each and every method in the class. Interface is used to implement multiple inheritance in java (represent IS-A relationship).
-