First page Back Continue Last page Graphics
Abstract Classes
An abstract class is one that can have no instances
Abstract classes often declare methods that are left undefined until the class is extended
In C++, these were called pure virtual methods
In Java, these are given the abstract keyword, for example:
- public abstract boolean func(int n);