例如:FileWriter fw = new FileWriter(“mytest.txt”);BufferedWriter bw = new BufferWriter(fw);為什么要兩個(gè)一起new,new一個(gè)BufferedWriter對象不行嗎?
構(gòu)造BufferedWriter對象的時(shí)候,為什么要new兩個(gè)對象?
Raelovejava
2016-08-16 21:07:22