Abstract Classes

An abstract class cannot be instantiated. They are used only as a superclass for inheritance. They are a way of providing structure a package by abstracting out the shared features of a range of classes.

It is important not to confuse an abstract classes with an interface.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License