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