Programmer-defined classes
In this course, we will write programs using user interface classes that Microsoft provides with the VS.NET development system, but programmers also define problem-specific classes. For example, if you were going to write a program for an online store, you might define a class called Product. Some of the properties of a Product would be:
- ProductDescription
- Price
- Vendor
All Products would have these properties.
If your store were going to sell books, you could define a second class called Book. The Book class would inherit the properties of the Product class, and add the following:
- AuthorName
- ISBN number
- PublicationDate
We will not be creating programmer-defined classes in this introductory course, but they further illustrate the ideas of class, object, property and value.