Wolters Kluwer interview question

whole implementation with syntaxes for a design pattern