Figure 1 shows type of inheritance in C++. Use it to answer the question that follows.
(i)Identify the type of inheritance depicted in the figure.
(ii)Describe the problem associated with this type of inheritance.
(iii)Explain two mechanisms that could be used to solve the problem in (ii).