Created a class, instantiated an object, and applied a shortcut syntax for string interpolation in the bark method.