Declare a method create. create takes a single String parameter and returns an anonymous object that implements the IBothWays interface:
create
String
IBothWays
So, for example: