88.1k views
4 votes
Suppose you wish to provide an accessor method for a boolean property finished, what signature of the method should be?

User Bokeh
by
8.1k points

1 Answer

3 votes
The answer in this question would be Public boolean is Finished. Wishing to provide an accessor method for your boolean property to finished, the signature of the method should be public boolean is Finished. So the signature you need to make in order to finished the boolean property is public boolean is Finished.
User JakeRobb
by
8.2k points