Omar Abdul-Latif is currently an Assistant Professor at the Electrical Engineering and Computing Studies Department at RIT Dubai. Prior to that he worked as a researcher and part-time Instructor at ...
Inheritance is static, and we cannot change the behavior of the system at runtime. To use the strategy pattern we create a strategy interface and a set of classes that implement it. The context class ...