I understand now how to create limitless arguments as per Java method with unlimited arguments
But I was wondering what is the syntax to extend this to two arguments, akin to printf
?
I want to create unlimited String, int pairs.
The goal would be to display String1 : Int1, String2: Int2 and so on. I'm just not sure what the syntax would be, let alone if it's possible.