Computer Science, asked by pgrover5709, 8 months ago

A JavaBeans component has the following field: private boolean enabled; Which two pairs of method declarations follow the JavaBeans standard for accessing this field? (Choose two.)

Answers

Answered by nancychaterjeestar29
2

Given : private boolean Which enables two pairs of method declarations follow the JavaBeans standard for accessing their field

Explanation:

A.

public void setEnabled( boolean enabled )

public void isEnabled()

B.

public boolean setEnabled( boolean enabled )

public boolean getEnabled()

#SPJ3

Similar questions