黑马程序员技术交流社区

标题: Java常用单词汇总7 [打印本页]

作者: cflying    时间: 2015-7-24 21:43
标题: Java常用单词汇总7
","");  //创建语句对象  Statement sta=con.createStatement();  //执行  SQL 语句  String strsql="Update teacher set address='地名' where name='姓名'";  int count= sta.executeUpdate(strsql);  System.out.println ("更新了"+count+"行记录");  //关闭连接  sta.close();  con.close();  捕捉异常  catch(ClassNotFoundException cnfe) {  cnfe.printStackTrace();  }  catch(SQLException sqle) {  sqle.printStackTrace();  }  预编译语句对象:preparedStatement *********************************************************** **** path            [ pɑ:θ ] 路径 class       [klɑ:s] 类  classpath         [klɑ:s'pɑ:θ ] 类路径 public        ['p ʌblik] 公共的,公用的         private       ['praivit]  私有的,私人的 static          ['stæ tik] 静的;静态的;静止的 void            [vɔid] 空的,没有返回值的  main        [mein] 主要的,重要的 System       ['sistəm] 系统,方法 out            [aut] 往外,出现,出外 print       [print ] 打印 Demo       [ 'deməu ] 演示 version          [ 'və:ʃən] 版本      
作者: 张凝宁    时间: 2015-7-24 21:49
你这个不全吧




欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) 黑马程序员IT技术论坛 X3.2