+ 1
In java programming, I've seen people using (String...args) instead of (String[ ]args).
But I've never come across such alternative in my books. Can anyone justify its use? https://code.sololearn.com/cyeiKE7nfy73/?ref=app
2 Réponses
+ 2
I'm not going to pretend to completely understand this answer, so maybe someone can parse it and explain it here:
https://stackoverflow.com/questions/27689220/why-cant-we-just-use-arrays-instead-of-varargs
+ 6
LukArToDo explains this very well in one of her codes
https://code.sololearn.com/cxQRlmdcY73I/?ref=app