试题详情
多项选择题 A JavaBeans component has the following field:  11. private boolean enabled;  Which two pairs of method declarations follow the JavaBeans standard for accessing this field?()

A、 public void setEnabled( boolean enabled) public boolean getEnabled()

B、 public void setEnabled( boolean enabled) public void isEnabled()

C、 public void setEnabled( boolean enabled) public boolean isEnabled()

D、 public boolean setEnabled( boolean enabled) public boolean getEnabled()

  • A,C
  • 关注下方微信公众号,在线模考后查看

热门试题