static method calling using reference variable
<pre><code> Duck d = new Duck();
 string[] s = {};
 d.main();
</code></pre>

<p>Will the compiler generate an error as we are trying to call a static method using a reference variable instead of the class name?</p>
