Why main method

Why do we have String Array in main method.public static void main(String arg[])why notpublic static void main(Integer arg[])
[153 byte] By [rajpuniaa] at [2007-10-2 8:42:10]
# 1
Strings are what the user types as arguments.java MyClass string string stringMost things (names dates colours ... and numbers) can be relatively easily expressed as strings. Using numbers would be possible, butnot nearly so easy.
pbrockway2a at 2007-7-16 22:44:20 > top of Java-index,Java Essentials,New To Java...
# 2
Because you enter text as arguments to main. Kaj
kajbja at 2007-7-16 22:44:20 > top of Java-index,Java Essentials,New To Java...
# 3
we can pass the argument to main method only through console...which are only in text format hence it is string ...
dheeraj_taka at 2007-7-16 22:44:20 > top of Java-index,Java Essentials,New To Java...
# 4
> we can pass the argument to main method only through> console...> which are only in text format hence it is string ...No, you can start java applications from other places as well.Kaj
kajbja at 2007-7-16 22:44:20 > top of Java-index,Java Essentials,New To Java...
# 5
May be they would have thought thatString is mostly used than others..They would have given this prority..Pradhip
Pradhipa at 2007-7-16 22:44:20 > top of Java-index,Java Essentials,New To Java...
# 6
> May be they would have thought that> > String is mostly used than others..> > They would have given this prority..> > Pradhipsee reply #2kind regardswalken
walken16a at 2007-7-16 22:44:20 > top of Java-index,Java Essentials,New To Java...