Os:windows7 x64
Jdk:jdk-8u131-windows-x64
Ide:eclipse Oxygen Release (4.7.0)
Code:
Interface Cleantrain {public abstract void clean ();} Interface Cooktrain {public abstract void Cook ();} Implements multiple inheritance between interfaces interface Mothertrain extends Cleantrain,cooktrain {public abstract void Lovemore ();} Class mother extends Object implements Mothertrain {public void clean () {}public void Cook () {}public void Lovemore () {}}clas s Demo {public static void main (string[] agrs) {}}
Results:
Java is good, worth learning.
Learning resources: Itcast Video Library. If you have public resources, can share to me, with your resources to learn also can.
Blog post is to watch the video, into thinking written. It's good that the teacher speaks well. Blog bad, is to give the most bitter not serious.
If you think the blog can be improved, leave a message.
JavaSE8 multiple inheritance between base interfaces