Question d’entretien chez Wipro

what is difference between function and methods?