?? connectionwithidx.java
字號:
package connectionpoolservlet;/** * Title: Servlet使用數據庫連接池 * Description: 教學示范 * Copyright: Copyright (c) 2003 * Company: 北京師范大學計算機系 * @author 孫一林 * @version 1.0 */import java.sql.*;public class connectionWithIdx { //定義帶有索引的數據庫連接類 Connection connection; //定義數據庫連接變量 int idx; //定義數據庫連接的索引 public connectionWithIdx() { //初始化connectionWithIdx類 Connection connection = null; int idx = 0; }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -