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

a. public void getFinished()
b. public boolean getFinished()
c. public boolean isFinished()
d. public void isFinished()

c. public boolean isFinished()

Computer Science & Information Technology

You might also like to view...

The ________ command will allow you to see who has added or changed information on a OneNote page

A) Show Authors B) Display Authors C) Show Editors D) Display Editors

Computer Science & Information Technology

____ is the default setting for the buttons that will be displayed in a message box like the one in the accompanying figure.

A. MessageBoxButtons.OKOnly B. MessageBoxButtons.OKCancel C. MessageBoxButtons.YesNo D. MessageBoxButtons.YesNoCancel

Computer Science & Information Technology