Pregunta de entrevista de Elbit Systems

Question about adapter design pattern, how would you add additional filtering function that are outside of the source code

Respuesta de la entrevista

Anónimo

4 jul 2022

create a class "Adapter" that inherits from class "Filter" and containing a pointer to the code that is out of the source code as a data member overriding the filtering function that will activate the filtering from the external library