Question (1)
I have declare a classA object in the main and want classB to use this object inside classB domain. may i know how to i go about doing it.

Question (2)
How do i pass an array to a function and let this function returns as an array.