当前位置: 技术问答>java相关
请问!!在方法内部怎样访问外部实例!!
来源: 互联网 发布时间:2015-07-27
本文导语: String path2="G:\mainbishe\javaprogram\logready.txt"; FileReader fr=new FileReader(file.toString()); FileWriter fw=new FileWriter(path2); System.out.println("Find path!!!") ; BufferedReader br=new BufferedReader(fr);
String path2="G:\mainbishe\javaprogram\logready.txt";
FileReader fr=new FileReader(file.toString());
FileWriter fw=new FileWriter(path2);
System.out.println("Find path!!!") ;
BufferedReader br=new BufferedReader(fr);
FileReader fr=new FileReader(file.toString());
FileWriter fw=new FileWriter(path2);
System.out.println("Find path!!!") ;
BufferedReader br=new BufferedReader(fr);