Pergunta de entrevista da empresa IBM

Whats the difference between an method and an class?