define classes to approximately represent class hierarchy as shown in above figure. Use constructors for both classes

Posted Date: