A good answer might be:

Almost always a constructor will have public visibility so that objects of the class can be constructed by "outsiders" such as the main() of a testing class.


End of the Chapter

You have reached the end of the chapter. You may wish to review the following. Click on a blue subject to access a discussion of it. To get back here, click on the "back arrow" button of your browser.



Click here     Back to the main menu.

You have reached the end of the chapter.