Refresher/m/SDLC/Abstract and Interface

Construction
Gohome.png
Abstract and Interface
Delegate and Polymorphism
   
Delegate and Polymorphism
Ledgray.png
 Abstract class (in C++, pure virtual method): blueprint for a class without any implementation and thus cannot be instantiated
Ledgray.png
 Abstract class methods: not all must be abstract, some can be concrete
Ledgray.png
 Abstract class required: when at least one of the methods in the class is abstract
Ledgray.png
 Abstract method: require non-abstract derived classes to provide their own implementation of this method
Ledgray.png
 Interface class: an abstract class with public abstract methods all of which must be implemented in the inherited classes
Ledgray.png
 Interface class methods: all must be abstract and public and thus accessibility modifiers not needed
Ledgray.png
 Multiple interfaces: can be inherited
Ledgray.png
 Namespace class: classes are declared inside a namespace