Question d’entretien chez Elbit Systems

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

Réponse à la question d'entretien

Utilisateur anonyme

4 juil. 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