Page

6.1.1- Our Telephone in Detail

  by NT Community Manager.
Last Updated  by Joel Bush.  

PublicCategorized as 06. Objects, Properties, Methods and Events.

Not tagged.
<< 6.1.0- What is an Object?Chapter66.1.2- Object Terms >>

Our Telephone in Detail

Chapter6_image002

 

Here is our telephone. To look at this as an object, let's put down some information about it. We will be classifying the information into three categories:

 

 

  • Things that describe the telephone
  • Things that we can do with the phone
  • Things that the telephone tells us and that we can react to

 

Let's look at each of these aspects in turn:

 

Describe the telephone

The telephone is gray
The telephone is made of plastic
The handset weighs 6.5 ounces
The telephone has 12 keys
The telephone number is (714) 555-1523
The telephone is connected to the exchange

What can we do with it?

 

We can place an outgoing call
We can answer an incoming call
We can hang up the current call
We can enter our calling card number
We can disconnect it from the exchange

What can it tell us that we can react to?

 

Someone is trying to call us
The person we are calling is busy
Another person is calling while we are talking

How It Works

The three categories that we have created in the left-hand column can be applied to any object. In fact, the best way to describe an object is to break down its characteristics into these three categories, and put information about your object into these categories. Any information that you have about a particular object can be included in one of these categories.

 

If you have another telephone that features all these characteristics, except that its color is blue, then we can describe your telephone by changing that one part of the description above. Moreover, this technique works for any type of object, both real world and software.

<< 6.1.0- What is an Object?Chapter66.1.2- Object Terms >>

Copyright © 2003 by Wiley Publishing, Inc.

Powered by Near-TimeTerms of Services | Privacy Policy | Security Policy |