A constructor has been defined as Painting(string = "oil", int = 0);. The first argument is used to set the Painting’s medium and the second sets the price. Which of the following can you use to...



A constructor has been defined as Painting(string = "oil", int = 0);. The


first argument is used to set the Painting’s medium and the second sets the price.


Which of the following can you use to declare an oil Painting valued at $2000?


a. Painting myArtWork(2000);


b. Painting myArtWork("oil", 2000);


c. Painting myArtWork;


d. Two of the above



May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here