ServiceNow Interview Question

factory pattern usage in my project?