Friday, May 16, 2008

Why should you use specific object variables rather than generic object variables whenever possible?

In most cases, you know at design time the type of object you want to create
and use in your application. It is much more efficient, in these cases, to use
specific object variables to point to the objects you create. A specific object
variable refers to a particular object type and can only hold pointers to that
type. If you try to store a different object type in that variable, an error will

Your Title