Java Multiple Inheritance Program Java