Thursday, October 2, 2014

Object Oriented Programming

An object contains built in attributes. These attributes can be data and/or methods. Functions associated with an object are referred to as methods. 

Before an object can be created, a class must be created. A class is a blueprint for an object.
Many objects can refer to the same class.

See below for two examples of creating a class, and then creating an object. 


No comments:

Post a Comment