August 2013
Beginner
540 pages
12h 51m
English
After completing this chapter, you will be able to:
Describe the importance of inheritance in object-oriented programming.
Define a base class.
Define a derived class.
Access base-class members from the derived class.
Use the virtual keyword to achieve polymorphism.
Define abstract classes and abstract methods.
Define sealed classes.
Use interfaces.
In this chapter, you will learn how to use all aspects of inheritance in C++/CLI. You will see how to define base classes and derived classes, and you will find out how to use these classes effectively in your application.
Inheritance is an important concept in object-oriented programming, helping us relate and classify types in a way that makes our applications more ...