When a Driver class is loaded, it should create an instance of itself and register it with the DriverManager. This means that a user can load and register a driver by calling
Class.forName("foo.bah.Driver")
当一个Driver类被加载时,它应该创建自身的实例并将其注册到DriverManager中。这意味着用户可以通过调用Class.forName方法来加载和注册驱动。
When a Driver class is loaded, it should create an instance of itself and register it with the DriverManager. This means that a user can load and register a driver by calling
Class.forName("foo.bah.Driver")
2002

被折叠的 条评论
为什么被折叠?