Java Program For Multiple Inheritance Form 1040