Given the code fragment:
You must make the countvariable thread safe.
Which two modifications meet your requirement? (Choose two.)
Given:
Which two interfaces can be used in lambda expressions? (Choose two.)
Given:
Examine these requirements:
* Eliminate code duplication.
* Keep constant the number of methods other classes may implement from this interface.
Which method can be added to meet these requirements?