Sollicitatievraag bij Barclays

Difference between a method and attribute.