Elbit Systems interview question

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

Interview Answer

Anonymous

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