I am trying to achieve the following: I have this method
public String methodName(Userdefinedclass.class,Userdefinedclass obj)
{
//some code
.........
method(Userdefinedclass.class);
method2(obj);
}
I want to generalise this method.
The challenge is that the argument here is user defined, i.e it can change. So please help.