DXC Technology Interview Question

What are types of variables and explain with example and some multi- threading concepts