CPSC 421 OOP Constructors and Initialization

123456789101112131415
Across
  1. 5. Non-static member ___________ should be used when appropriate and helps ensure fields are not forgotten
  2. 7. Operator used to allocate memory from the heap
  3. 9. The _____ _____ ____ is the part of the constructor definition that allows control over which constructor is called for the fields
  4. 12. Initializes the allocated memory but does not allocate it
  5. 13. Memory for these is constructed first in an object
  6. 14. Version of C++ that introduced non-static member initialization
  7. 15. Memory from this area is allocated using the operator "new"
Down
  1. 1. It is ____ ____ use the member initialization list as much as possible and don't wait for a problem to utilize it
  2. 2. The entire memory for a class must be allocated in one ______ chunk
  3. 3. Operator that shows the size of a variable or type at compile time
  4. 4. The size of an object includes the size of the fields plus this
  5. 6. Size of an empty class, in bytes, to ensure unique addresses
  6. 8. When compiling a variable declaration, the compiler must know the ____ of the resulting variable
  7. 10. Memory for the object is allocated from this area if not from the heap
  8. 11. Constructors are called in the sequence they appear in this
  9. 13. For an object, the memory allocation must be large enough for the memory requirements for all of the ____ of the class