Which three can be included in an interface declaration?

Which three can be included in an interface declaration? (Choose three.)

Which three can be included in an interface declaration? (Choose three.)

A.
protected void showMessage();

B.
void showMessage();

C.
abstract void showMessage();

D.
private void showMessage();

E.
public void showMessage() {
System.out.println(“Hello.”);
}

F.
public void showMessage();

G.
static void showMessage();



Leave a Reply 0

Your email address will not be published. Required fields are marked *