Search This Blog

Wednesday, November 21, 2018

You also can use interface names as return types.

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