Factory design pattern, Super class having multiple subclasses, create object of the subclass based on the input/requirement. We create Factory class that take the responsibility of creating object of the subclass. Super class will represent things so, you have to design it will be abstract class or interface. Things to consider before making object using client class. 1) Object should be created with loose coupling. 2) Create object based on input dynamically. Implement with code, here is the scenario. 1) We have Interface of Employee declaring a method salary. 2) Now make two subclasses names WebDeveloper, AndroidDeveloper that defining the salary method and return employee salary. 3) We have master abstract class named as FactoryEmployee having static method getEmployee that receive an string type argument. based on argument there is an if condition to create object of spacific class of WebDeveloper or AndroidDeveloper. 4) Now We have an DeveloperClient c...