Assertion: interface's method | /r/CapableOf | return same type
Facets:
Source sentences:
text: As you can see, since the generic type for the CarProducer instance is set to Car , it is no longer necessary to cast the object returned from the produce() method, since the original method declaration in the MyProducer interface states, that this method returns the same type as is specified in the generic type when used.