EY Interview Question

What is mean by factory method