1. 首页
  2. 课程学习
  3. Java
  4. java实验七

java实验七

上传者: 2018-12-09 06:49:58上传 DOCX文件 238.05KB 热度 49次
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: I am a child and I am playing a game I am a musician and I am playing a song I am an actor and I am playing a part
用户评论