Which of the following var-arg method declarations are valid?
m1(int...x) Valid
m1(int... x) Valid
m1(int ...x) Valid
m1(int x...) Invalid
m1(int. ..x) Invalid
m1(int. x..) Invalid
m1(int... x) Valid
m1(int ...x) Valid
m1(int x...) Invalid
m1(int. ..x) Invalid
m1(int. x..) Invalid
0 comments: