Pregunta de entrevista de Geotab

what is difference between method and function