Why
java compiler forces us to write a main method with
String array parameter, and even though we don't pass any command line parameter while running java application from command prompt, why it does'nt throw any run time error. We have learnt that a method that takes a paremeter must be invoked with a paremeter of declared type, does JVM passes any sort of argument to main()?