Declarations and Access Control Logic
© examsiri.com
Question : 13 of 29
Marks:
+1,
-0
Given:
A programmer wants to create an interface called B that has A as its parent. Which interface declaration is correct?
1. public interface A {
2.   String DEFAULT_GREETING = "Hello World";
3.   public void method1();
4. }A programmer wants to create an interface called B that has A as its parent. Which interface declaration is correct?
Go to Question: