Can we create an array of objects for a class having user-00359
This subjective question is related to the book/course vu cs201 Introduction to Programming. It can also be found in vu cs201 Mid Term Solved Past Paper No. 5.
Question 1: Can we create an array of objects for a class having user defined constructor. Justify your answer.
Answer:
There must always be a default constructor if we want to create array of objects.