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 ChapterYou 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.
The next chapter will discuss highly interesting things. Click here to go back to the main menu. |
| You have reached the End. |