posted 11 years ago
Hello Sudhir Pawar ,
Do you wish to have three separate functions for each return type ? . Or you want a single method to return all three arrays ?
For the first option, you can do something similar to this
However if you would like a single method to return all the three arrays then , in my opinion , you can declare a class with the three arrays and then initialize an object of this class, set the 3 arrays , and return this object
MyClass looks like this
Then you can call this method and return the object of this class
Muhammad Saif Asif Mirza
OCJA(5/6) OCJP(6) OCJWCD(6)