Monotype interview question

1st Round:- Design Principle, Make a program for the Interface segregation principle