In this example, the Printable interface has only one method, and its implementation is provided in the A6 class.
Output: