+ 2
Why in main method in java we use array of strings as parameters not any integer or other
I tried but it doesn't work
7 Answers
+ 2
Java only recognizes the main method if it has an array of strings of arguments.
+ 1
Wait you pretty much asked the same question twice.
+ 1
What kind of arguments would string[] args get?
0
What is this airee u answered all my questions in the same way
0
Swim u must int instead of string and make coding just for no. And show does it work and next thing is if u use void then why it matters to use string as argument I am not passing anything to main method