
Posted by Ali on November 06, 203 at 02:26:17:
i m facing a problem.Can we initialize the array of objects in the constructor. the object has some arguments also. for example if i have to inilitlise the array of objects of flight class
like:
flight f[4](here are the arguments of flight no, to, from and date)
what will be the syntax as i have tried every thing in this regard. if some one can answer i will be really thank ful to him.
regards ...
Ali from arid university RAwalpindi.