What is the wrong of the following code?
void m1(String str, int...n1, int...n2) { // Code goes here }
it declares two variable-length arguments
m1() method is invalid because it declares two variable-length arguments, n1 and n2.
class Account { void m1(String str, int...n1) { // Code goes here } }