Is it possible to specify in the method, with an indefinite number of arguments, a set of arguments at once, for example an array?
As far as I know, the ability to set an indefinite number of arguments to a method was implemented in order not to set all the arguments as an array. Does backward compatibility remain?
test(Type... args){} test(Type param1, Type param2){}
- XelaNimed