Pergunta de entrevista da empresa Wipro

what is difference between function and methods?