結果 : write a program to demonstrate hierarchical and multiple inheritance using interfaces in java