Hi, I have the following situation. There is an interface named DBInterface, two classes extend from it. There is another class named ModeFactory which has a method which returns one of two classes depending on the parameters passed to it. I have a doubt whether this is called Abstract Factory pattern or simply Factory pattern. Thanks for your help.