"Here are a few more tasks. I hope you enjoy them."
Implementing an interface using a local class
In the Cat class, implement the toCanSpeak method's logic, which is described in a Javadoc.
How to avoid Copy+Paste
In the Dog class, implement the toCanSpeak method's logic, which is described in a Javadoc.
Online store for jeans
1. Create 2 interfaces in separate files: 1.1) Item with int getId(), double getPrice(), and String getTM() methods 1.2) Jeans extends Item with the int getLength() and int getSize() methods. 2. In the Util class, add the missing Java code to the getAllJeans method.