1 Wikipedia describes the Strategy Pattern with this UML diagram:
2 In your own code you can define algorithms as methods or functions, however you like.
3 I laugh, because I wrote Java code like that for what, almost 15 years?