Pregunta de entrevista de Wipro

Switching Methods, how does it work?