Hi is there any way for me to pass variable arguments to a method?
public void unMarshalling(String type, int number){
}
So that instead of int, I can make my method such that I am able to pass in float, double, string and other primitive data types(+ string). Any simple examples will be deeply appreciated! Thanks alot!
public void example(Object a){}could do it?