📄 test.java
字号:
package test;
import dao.*;
import dao.impl.AccountDaoImpl;
import biz.*;
import biz.impl.BankImpl;
import View.*;
import java.sql.*;
import util.*;
public class Test {
public static void main(String[] args){
Connection conn=null;
try {
conn = JdbcUtil.getConnection();
AccountDao dao=new AccountDaoImpl();
Bank bank=new BankImpl(dao);
TextView view=new TextView(bank);
view.showMain();
} catch (Exception e) {
e.printStackTrace();
}finally{
JdbcUtil.release(null, null, conn);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -