<P> An important distinction is between the data type, which is interface, and the class, which is implementation . </P> <P> The meaning of the term "type" in computer science is rather similar to the meaning of the word "type" in everyday language . For example, a barman can ask a client what type of beverage does he or she want--coffee, tea or beer? A particular cup of coffee that the client receives is in the role of an instance, while two cups of coffee would form a set of two instances of coffee, determining its type at the same time . </P>

What do you mean by object is an instance of a class