a) Describe a real-world practical scenario in which a variable in a class should be set to have protected visibility. 

Question

b) Write a code fragment that demonstrates an appropriate use of a conversion constructor (i.e., a real-world practical scenario that is well-suited to the use of a conversion constructor).

Leave an answer

Sorry, you do not have permission to answer to this question .