只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-11-16 23:25
坚持沉淀
阅读(3)
评论(0)
推荐(0)
摘要:
Properties类加载属性文件加载是开发中常用的一种方法。可以达到低耦合、高内聚的作用 注:properties属性文件必须方法src目录下,否则load()加载器无法找到properties属性文件。 方法如下: Properties props = new Properties(); pro 阅读全文
posted @ 2017-11-16 17:22
坚持沉淀
阅读(348)
评论(0)
推荐(0)
摘要:
ResultSet rs = stmt.executeQuery("select name,health,love,strain from dog where name='美美'"); 不能改成如下形式。 ResultSet rs = stmt.executeQuery("select name,h 阅读全文
posted @ 2017-11-16 17:01
坚持沉淀
阅读(528)
评论(0)
推荐(0)
摘要:
原因是没有在类中加载驱动jar包。需要在项目中引入jar包 阅读全文
posted @ 2017-11-16 16:45
坚持沉淀
阅读(245)
评论(0)
推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-11-16 15:34
坚持沉淀
阅读(4)
评论(0)
推荐(0)
摘要:
static 不能被继承 阅读全文
posted @ 2017-11-16 11:55
坚持沉淀
阅读(231)
评论(0)
推荐(0)

浙公网安备 33010602011771号