public interface A { String DEFAULT_GREETING = “Hello World”; public void method1(); } A programmer wants to create an interface called B that has A as its parent. Which interface declaration is correct?()
A. public interface B extends A {}
B. public interface B implements A {}
C. public interface B instanceOf A {}
D. public interface B inheritsFrom A {}
查看答案
该试题由用户590****92提供
查看答案人数:40319
如遇到问题请
联系客服
正确答案
该试题由用户590****92提供
查看答案人数:40320
如遇到问题请联系客服