How to Simulate Multiple Inheritance in Java