Xilinx Interview Question

oops concepts