title: How to configure JVM to call custom method instead of Main method?
body: <p>We know that JVM looks for main() method during class execution. Can we customize JVM to execute our own custom function instead of main method by default?
  if yes, how do we do it?</p>