为什么老说我类型不兼容?
public ArrayList getAllClass() {ArrayList al = new ArrayList();
DBUtil db = new DBUtil();
try {
Statement st = db.getConnection().createStatement(""); //这里说有问题
} catch (Exception ex) {
Logger.getLogger(ClassDAOImpl.class.getName()).log(Level.SEVERE, null, ex);
}
}