java实验8(Playing.java)
Create an interface called Playing. The interface has an abstract method called play(). Create classes called Child, Musician and Actor that implement Playing. Create a program that demonstrates the use of the classes. Playing.java Child.java Musician.java Actor.java UsePlaying.java Sample Output:
下载地址
用户评论
程序很好,很优秀,满足实验需求。
运行无问题,且满足实验的各个要求,代码也很简单明了
虽然很小,但是也体现了接口的概念和用途,还不错
这篇文章很好,运行无问题,且满足实验的各个要求,代码也很简单明了