Regarding the abstract Factory template.
As you know, there are two ways to use ie
- Either instantiate a specific class directly, or
- Provide an interface with which we can access a specific class
Can someone say the advantages / disadvantages that if I use option 1, then these may be problems that may arise, or vice versa, if this is possible in real time.
Thanks in advance...
source
share