If we can define a method inside "public static void main()" which is also a function why can't we do like this -

```
public void method_1()
{
      //statements 
        public void method_2()
               {
                        //statements
               }
}

```