Chapter 10. Classes and Interfaces

Classes and Interfaces
  • Learning about different types of classes

  • Using interfaces to create polymorphic classes

As I briefly discuss in Chapter 3, classes are a very important construct of Object-Oriented Programming and can be considered a blueprint for creating objects. Further, these classes encapsulate State and Behavior. Behavior is encapsulated into methods (sometimes referred to as functions), and State is encapsulated in data placeholders called member variables, also known as properties. There are different types of classes, and we will go over many of them in this chapter. Similar to classes are an Object-Oriented Programming ...

Get Foundation Expression Blend 4 with Silverlight now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.