java代码大全及详解(Java 常用代码汇总)
时间: 2022-10-09 03:07:45
1. 字符串有整型的相互转换String a = String.valueOf(2); //integer to numeric stringint i = Integer.parseInt(a); //numeric string to an int2. 向文件末尾添加内容BufferedWriter out = ;try {out = new BufferedWriter(new FileWr...