Thales Interview Question

Write a template class and used in 2 subclasses