Pregunta de entrevista de Guidewire

In what ways you can create a function?