結果 : write a program to implement single and multiple inheritance in java