1.

Difference between string a[5] and string []​

Answer»

Answer:

String[] and String... are the same thing internally, i. e., an array of Strings. The difference is that when you use a varargs PARAMETER ( String... ) you can call the method LIKE: PUBLIC void myMethod( String... foo ) { // do something // foo is an array (String[]) internally System



Discussion

No Comment Found