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?
(Choose two.)
A.
public void setEnabled( boolean enabled )
public void isEnabled()
B.
public boolean setEnabled( boolean enabled )
public boolean getEnabled()
C.
public void setEnabled( boolean enabled )
public boolean isEnabled()
D.
public void setEnabled( boolean enabled )
public boolean getEnabled()
Explanation: