What is the significance of the return statement inside a method whose return type is void
<p>What is the significance of the return statement inside a method whose return type is void .
For example see this below program (I cant paste my companys code so i pasted some sample )</p>

<pre><code>public class Pavan {

    public static void main(String args[]) {

        Pavan r = new Pavan ();

        r.kiran();
    }

    public void kiran() {
        int a = 10;

        if (a == 10) {
            return;
        }

        System.out.println("Hi I am Kiran");
    }

}
</code></pre>
