摘要: public Connection getConnectionS() throws IOException, ClassNotFoundException, SQLException { // 1. 创建Properties对象 Properties properties = new Propert 阅读全文
posted @ 2019-05-30 23:07 吹哥哥 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 求水仙花数 for (int i = 100; i 阅读全文
posted @ 2018-12-31 20:14 吹哥哥 阅读(1624) 评论(0) 推荐(0) 编辑
摘要: 1.增加临时变量 2.位移运算交换 3.数值相加减交换 阅读全文
posted @ 2018-12-31 19:05 吹哥哥 阅读(389) 评论(0) 推荐(0) 编辑
摘要: 二维数组的遍历,求和 int [] [] s = {{1,2,3,4},{5,6,7,8,3,3},{9,10,11,12}}; int sum=0; for (int i = 0; i 阅读全文
posted @ 2018-12-31 17:22 吹哥哥 阅读(1191) 评论(0) 推荐(0) 编辑
摘要: for循环 while循环 int sum=0; int i = 1; while(i 阅读全文
posted @ 2018-12-31 17:05 吹哥哥 阅读(774) 评论(0) 推荐(0) 编辑
摘要: 判断是不是回文数 12321 1221 生成回文数 阅读全文
posted @ 2018-12-31 16:36 吹哥哥 阅读(2190) 评论(0) 推荐(0) 编辑
摘要: 三个数a b c 第一种方式if嵌套 第二种方式三元运算符 阅读全文
posted @ 2018-12-31 16:04 吹哥哥 阅读(2798) 评论(0) 推荐(1) 编辑