Thursday, March 12, 2009

Why does main() in java taking String[] as argument? (CoreJava)

Question :Why does main() in java taking String[] as argument? (CoreJava)
Answer :Since main(String[]) is the starting point for an application if you need to
pass any arguments to
application at the startup time, we can send the parameters as Strings

No comments: