One of hundreds of answers available with our premium content service.
A: To illustrate multiple inheritance, consider a Bat, which is a mammal that flies. We might have two interfaces: Mammal, which has a method suckleInfant(Mammal), and Flyer, which has a method fly(). These types would be declared in interfaces, as below.
… full answer hidden
Premium members click below for full answer
Can you give an example of multiple inheritance with interfaces?