Types of Variables?

There are different types of variables in statically typed programming languages like Java or C#. These are primitive type, class type, interface type, or array type. The values stored in the array are confined to its type. Look here for more information: