Pergunta de entrevista da empresa Barclays

Difference between a method and attribute.