Question d’entretien chez Tech Mahindra

what is the difference between function and method?