O'Reilly logo

Object-Oriented Programming in ColdFusion by Matt Gifford

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Inheritance and Object-Oriented Concepts

Now that we have built our components and looked at creating Bean objects, we can start to delve a little deeper and have a look at some of the core concepts involved in object-oriented programming.

The world of OOP can be laden with jargon, keywords, and concepts, some of which may be obvious. Others may be easily misunderstood or simply confusing.

In this chapter, we will take a look at a few of the key concepts that you may well experience within an object-oriented application, together with code examples to assist with understanding these ideas, starting with the concept of inheritance.

We will also look at the following:

  • Polymorphism
  • Composition
  • Aggregation

What is Inheritance?

Inheritance is one ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required