0
Would someone be so kind and explain how (String[] args) differs from (String args []) ? Thanks for the help.
5 ответов
+ 3
They do work the same way but the first is the one that is more preferred
+ 2
Both could work, but the former is the more conventional form of presentation
+ 2
There is no difference. what one should appreciate is that the main method takes an array 'args' of String type as its arguement. Hence when you define the array square brackets can either be put in front of the Type[]or Variable[]. Thus it is a matter of preference.
+ 1
there is no difference.....the first one is the programmatic prefered one....but u can even use the second one
0
thank you