問題 以下のプログラムの問題点を挙げよ。 interface Nom1{ int nom1 = 0; int special = 100; } interface Nom2 extends Nom1 { int Nom2 = 1; int special =100;   void f(); } interface Nom3 extends Nom1 { int Nom3 = 2; void f(); } interface Sum extends Nom2 , Nom3 { int Sum = 3; int f(); } class Z implements Sum { } class AllInterface { public static void main(String args[]) { Z z = new Z(); System.out.println(z.Nom1); System.out.println(z.special); } } 解答例 1.interface Sumにてメソッドfの戻り値の型が異なっている。 2.mainでz.specialを出力する際に、クラスzには複数のspesialが実装されているためエラーが起こる。 3.問題の作成時のミスだが、Nom1を間違ってnom1と記載したため、メインで呼び出すことができない。