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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!