Two interfaces with same method signature implemented in Java class

后端 未结 7 1490
独厮守ぢ
独厮守ぢ 2020-12-05 08:12

I have two Java interfaces and one implementing class.

(I have used Eclipse to run the program directly, and I did not try to check any compiler warning et cetera by

7条回答
  •  [愿得一人]
    2020-12-05 08:36

    The following page contains an example of a class that implements two interfaces that have the

    1) same variable name 2) same method in each interface.

    http://www.j2eeonline.com/java-tm-fundamentals-II/module2/interface-ambiguous-fields.jsp

提交回复
热议问题