Advertisement

Initialization

  • Matthew Campbell
Chapter

Abstract

You initialize an instance to get the instance ready for use. Initialization means you set the starting values for the instance. In Chapter 31, you used the default initializer when you created a new Person instance (see Listing 41-1).

Keywords

Init Method Custom Initializer Code Completion Class Person Person Instance 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Matthew Campbell 2014

Authors and Affiliations

  • Matthew Campbell
    • 1
  1. 1.New YorkUSA

Personalised recommendations