passing a String array as argument

前端 未结 0 1606
栀梦
栀梦 2021-02-13 08:06

A String array can be declared and initialized in the following way:

String[] str = {\"A\", \"B\"};

but for a method which accepts a String arr

相关标签:
回答
  • 消灭零回复
提交回复
热议问题