Pergunta de entrevista da empresa Accenture

What are the differences between local variable and class variable?