A program, written using object-oriented programming, stores pictures as objects. The program stores the dimensions of the picture (width and height), the colour of the frame (e.g. black), and a description of the picture (e.g. flowers). The class has the following attributes and methods. The method SetDescription() takes a new description as a parameter, and writes this value to the appropriate attribute. Write the method SetDescription().

Computer Science
IGCSE&ALevel
CAIE
Exam No:9618_w21_qp_42 Year:2021 Question No:2(c)

Answer:



Knowledge points:

20.1 Programming Paradigms

Solution:

Download APP for more features
1. Tons of answers.
2. Smarter Al tools enhance your learning journey.
IOS
Download
Android
Download
Google Play
Download