Can I have a Interface in method?
<p>I know that that on can have a class declaration in a method of class.
Eg. We can have anonymous class declaration for event handling in a method body.  </p>

<p>But I want to know that same way can I have Interface declaration in a method in a class.</p>

<p>What is use of that?</p>
