摘要:
public class Mul { public static void main(String[] args) { // 第一种方法 for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9... 阅读全文
摘要:
public class TypeConversion { public static void main(String[] args) { byte b = 127; char c = 'w'; short s = 123; int i... 阅读全文
摘要:
public class ToLog { public static void main(String[] args) throws Exception { //准备日志文件 File f = new File("log.txt"); if(!f.ex... 阅读全文
摘要:
public class DoTXT { // 定义成员变量:路径,文件对象,临时变量 private String path; // 文件路径 private File f; private FileReader fr; // 所需文件流对象 private File... 阅读全文