An instance of a data type

An object is an instance of a data type.

The function in Listing 1 declares two items.

The first item is an instance of a simple integer of type int.

The second item is an instance of an abstract data type of a class named Date.

Listing 1. Two instances of a type.
void f(){
  ...
  int ndays;//instance of an int
  Date cdt; //instance of the abstract data type Date
  ...
}//end function