Yes - Technically i would say running a java class is basically passing a 'java class' as parameter to the java program! The java program does what it does best namely call the static main method of the program. So yes while wired its still possible to run a class without main! At least that's the way I see it.
Run class without main method?
ReplyDeleteYes - Technically i would say running a java class is basically passing a 'java class' as parameter to the java program! The java program does what it does best namely call the static main method of the program. So yes while wired its still possible to run a class without main! At least that's the way I see it.
ReplyDeleteCheers - Sam