Class InterfaceDog

java.lang.Object
InterfaceDog
All Implemented Interfaces:
ISpeaker

class InterfaceDog extends Object implements ISpeaker
ISpeaker implementation that barks.
  • Constructor Details

    • InterfaceDog

      InterfaceDog()
  • Method Details

    • speak

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