Create an interface called Player

  

Create an interface called Player. The interface has an absract method called play() that displays a message describing the meaning of “play” to the class. Create classes called Child, Musician, and Actor that all implement Player. Create an application that demonstrates the use of the classes. Save the files as Player.java. Child.java, Actor.java. Musician.java, and UsePlayer.java

Tags: No tags