Skip to content
Ravnary
A Knowledge Platform
Categories
Learn
Cheatsheets
Paths
Favourites
Review
Community
Colour theme
Light
Dark
System
Learn
Design Patterns
Behavioural Patterns
Template Method Pattern
Quiz
Q 01
/ 04
Intermediate
Question 1 of 4. 0 correct, 0 incorrect.
Match each kind of method in a template method's base class to what a subclass does with it.
The template method
Choose…
Must not override it
Must write it
May override it, or keep the default
An abstract step
Choose…
Must not override it
Must write it
May override it, or keep the default
A hook
Choose…
Must not override it
Must write it
May override it, or keep the default
Check answer
Home
Learn
Paths
Saved
Community