Java Multiple Inheritance Program