Class InterfaceCat

java.lang.Object
InterfaceCat
All Implemented Interfaces:
ISpeaker

class InterfaceCat extends Object implements ISpeaker
ISpeaker implementation that meows.
  • Constructor Details

    • InterfaceCat

      InterfaceCat()
  • Method Details

    • speak

      public void speak()
      Description copied from interface: ISpeaker
      Emits this speaker's sound.
      Specified by:
      speak in interface ISpeaker