多项选择题在Java接口中,下列选项中有效的方法声明是()。

A.public void aMethod();
B.void aMethod();
C.protected void aMethod();
D.private void aMethod();


您可能感兴趣的试卷