Pregunta de entrevista de Accenture

What are the differences between local variable and class variable?