Question: Use the concept of factory design pattern to create a database connection factory which can use by different programmers to create connections with different database
Use the concept of factory design pattern to create a database connection factory which can use by different programmers to create connections with different database types1 (e.g. Oracle, SQL server, MySql etc.).
Step by Step Solution
There are 3 Steps involved in it
The Factory Design Pattern is a creational pattern that provides an interface for creating objects but allows subclasses to alter the type of objects ... View full answer
Get step-by-step solutions from verified subject matter experts
