Bloomberg Interview Question

The signature of virtual function and construct/copy function. how to implement a base class type check