Is there any way to pass class as a parameter in Java and fire some methods from that class?
void main() { callClass(that.class) } void callClass(???? c
Se these: http://download.oracle.com/javase/tutorial/extra/generics/methods.html
here is the explaniation for the template methods.