-1
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)
}
不能改變方法ARGS如何在一個對象中合併兩種不同的對象類型?
method(Object o){
//...
//how to split it to file and String here
}
任何事情不清楚問PLZ
感謝您的回答 –