随笔分类 -  java / 积累的工具类和方法

摘要:连接数据库 spring: application: name: reggie datasource: druid: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/sq1?serverTime 阅读全文 »
posted @ 2023-04-09 17:18 Bepowerful 阅读(21) 评论(0) 推荐(0) 编辑
摘要:1.定义数组三种方式 int[] arr =new int[10]; int[] arr = new int[]{2,3,4,5,5}; int[] arr = {2,4,5,6,6}; 2.Arrays.toString(数组) //将数组中的数据转为字符串 3."liuliu.big".subs 阅读全文 »
posted @ 2023-04-04 01:55 Bepowerful 阅读(137) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示