(a) Distinguish between black box and white box testing. Give examples of both type of testing (b) Why are constructor and destructor functions used…

(a) Distinguish between black box and white box testing. Give examples of both type of testing

(b) Why are constructor and destructor functions used in object oriented programming? Give examples of each function in C++ or Java language.

From the BPSC Assistant Engineer 2021 – Written exam, question 9 of 16.

More from this paper