• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 20. Using Visio to Interact with... > Objects, Properties, Methods, and Ev...

Objects, Properties, Methods, and Events

What then is an object? Numerous definitions have been proffered as to the meaning of an object. One I recently read stated that “An object is a named unit within a program that possesses both data and code that acts on that data. An object is said to encapsulate the data and the related code.” This is a wee bit like stating that an object is an object. It is true, but it certainly does not assist you in gaining any understanding.

Let's try a different approach. Begin by thinking of yourself as an object. I know that in today's politically correct climate you are not supposed to objectify anyone, but you can make an exception this one time. As an object, you have properties, which are those things that describe you. You have eyes. Those eyes are blue. See? You just traversed an object model here. The root object is you the person.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint