why is it mandatory to pass string arg[] as an argument in main method?
why we cannot pass any other data type available in java?
whats the importance of passing String arg[
Because if also we are not passing any argument value while running the main method then also its working fine. It creates an empty string, when we are not passing any values to string arg[]. Where else in case of other data type we have to pass some values.