+ 1

array

what is the difference between Strings[] and args[]?

14th Mar 2017, 6:40 AM
Deepak Lama
Deepak Lama - avatar
1 ответ
+ 2
First of , Strings[] is a variable name for an array , args[] is also a variable name. They could be named anything. String[5] , however means that you are declaring an array that can hold Strings and has a capacity of 5.
14th Mar 2017, 7:03 AM
Meharban Singh
Meharban Singh - avatar