asked 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?

asked
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.
answered
User JakeRobb
by
8.2k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.