Multiple Inheritance Program Java