接口中的问题
在学习中发现有如下写法,请问该如何理解
Collection conn = null;
PrepareStatement pstmt = null;
conn = DriverManager.getConnection(...);
pstmt = conn.prepareStatement(...);
在学习中发现有如下写法,请问该如何理解
Collection conn = null;
PrepareStatement pstmt = null;
conn = DriverManager.getConnection(...);
pstmt = conn.prepareStatement(...);
2018-06-13
举报