So are you trying to pass the
'a'
members of the array? If so, there is nothing you can get build-in. You have to create an array of all
a
's to pass. But that defeats the whole purpose. How would you know which
a
belong to which
object
? While you can use the index why go all the hard way.
Pass your array and in your method you can do what ever you want to do.
something s[] = new something[5]
... initialize array
CallRoutine(something)