callingmethod(){
File f=new File();
//...
String s= new String();
//...
method( f + s); // here is problem (most put f+s in object to send it to method)
}
无法更改方法参数
method(Object o){
//...
//how to split it to file and String here
}
对于任何不清楚的事情请询问