The difference between Java abstract classes and interfaces

TypeScript the interface is somewhat similar to the concept of an abstract class. Java abstract class contains properties belonging to the abstract behavior, and the interface is usually just an abstract behavior.

 

reference


https://www.cnblogs.com/dolphin0520/p/3811437.html

Guess you like

Origin www.cnblogs.com/lemos/p/11488688.html