Thursday 25 April 2013

Objects

An object is an instance of a class. For object read variable!
Every time we define a variable we get a new object which has all the properties of the
associated class. This is the same as with the built-in types of C (float, int etc.)—they
have certain properties (range of values, operations etc), the bonus is that we can make up
our own as well!

No comments:

Post a Comment