https://www.cnblogs.com/liuhw/p/10646717.html
继承方式之间的比较:https://www.cnblogs.com/annika/p/9073572.html