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)
}
cant change method args
method(Object o){
//...
//how to split it to file and String here
}
for any thing not clear ask plz
You can e.g. put it in an array: