W
wozza
Sharon said:Hi all,
I have a logical oop problem; I have an interface, and derived classes
The interface represents a general printer, and each class is a specific
printer
The question is what is the correct way to get a new instance of a printer
by its name?
Where should the getPrinterObject function be?
You have a separate PrinterFactory object that can return a reference to the
correct type.