How to pass class name in function arguments
<p>I want to create a function that will perform some operation(most time occurring)
I created function like following</p>

<pre><code>public void doSth()
{
   //logic
   ClassName.staticMethod();
   //logic
}
</code></pre>

<p>In My application there are many times this function will be called. Only the particular line will be change. I decided to give a common function.</p>

<p>Now my question is: How do I pass the ClassName in function arguments so that function body use it dynamically?</p>

<p>Thanks</p>
