ANTs interview question

How are local variables, global variables stored. Explain static variable