what is difference between class type object and class type variables