Question: Object Oriented Programming Question 5 (a) Explain the role of object variables and methods. What object oriented con- [2 marks] [3 marks] cepts do they

Object Oriented Programming Question 5 (a) Explain the role of object variables and methods. What object oriented con- [2 marks] [3 marks] cepts do they correspond to? (b) Can a class have more than one constructor? Explain (c) A Zoo object contains the only pointer to a dynamically created array called animals that stores the animals that are currently part of this zoo. When, where and how should this array memory be freed 3 marks] [Total for Question 5: 8 marks]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
