Introduction - If you have any usage issues, please Google them yourself
With a factory pattern write database access classes. When creating an interface for external use by DBHelperFactory IDBHelper object, and MySqlDBHelper inherited DBHelper, DBHelper has achieved IDBHelper. DBHelper is an abstract class.