Cognizant interview question

1. write code for multiple inheritence