Can anyoneplz tell me that when we have to use which statement..i mean what is the difference between both the statements :
" public static void main(String[]args) "
" public static void main(String args[]) "
Functionality wise both are same. SI suggest to use String[] args. I think its because its more readable. String[] args can be read as "String array named args"