Java Multiple Inheritance Example In C