Mar 20, 2018

You also can use interface names as return types.

In this case, the object returned must implement the specified interface.