Question: just need the final answer please the correct choise Question 7 Not yet answered Study the following definitions of classes Ball and Bag, and find

just need the final answer please the correct choise just need the final answer please the correct choise Question 7 Not

Question 7 Not yet answered Study the following definitions of classes "Ball" and "Bag", and find which of the following statements are correct. Note: Incorrect answer will be penalized. Marked out of 2.00 P Pag question class Ball string color; double weight; public: Ball (string c - "red", double w=100); -Ball(); 1) class Bag Ball blue; Ball red; public: Bag (: -Bag () Select one or more When leaving the scope of an object, it will call the destructors of bag then red then blue When leaving the scope of an object. It will call the destructors of blue then red then bag When leaving the scope of an object it will call the destructors of red then blue then bag When defining an object of class "Bags it will call the constructors of bag then blue then red When defining an object of class 'Bad" it will call the constructors of red then blue then bag When defining an object of class Bag" it will call the constructors of blue then red then tas When leaving the scope of an object it will call the destructors of bag men bieten red

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!