abstract method
noun phrase
Meaning
A programming declaration that defines a function's signature and expected behavior without providing an actual implementation, forcing subclasses to provide the specific code.
Examples
- The base class defines an abstract method that every child class must implement to function correctly.
- Attempting to instantiate a class containing an abstract method will result in a compiler error.
Synonyms: interface, virtual function, stub, pure virtual function