The most common way to declare a destructor

This preview shows page 19 - 20 out of 20 pages.

We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
Systems Architecture
The document you are viewing contains questions related to this textbook.
Chapter 3 / Exercise 30
Systems Architecture
Burd
Expert Verified
3.The most common way to declare a destructor explicitly is to use an identifier that consists of ____.a.a colon followed by the class nameb.a period followed by the class namec.a tilde followed by the class named.an exclamation mark followed by the class nameANS: C
PTS:1REF:4564.The relationship created with composition is called a(n) ____ relationship.
PTS:1REF:4585.A(n) ____ in a class diagram indicates public access.
PTS:1REF:4616.A(n) ____ in a class diagram indicates private access.
PTS:1REF:4617.When properly used, inheritance always involves a ____ relationship.a.specific-to-generalc.specific-to-specific
We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
Systems Architecture
The document you are viewing contains questions related to this textbook.
Chapter 3 / Exercise 30
Systems Architecture
Burd
Expert Verified
b.general-to-specificd.general-to-generalANS: B
PTS:1REF:4628.A class that is used as a basis for inheritance is called a ____ class.
PTS:1REF:4629.A derived class always ____ case or instance of the more general base class.
PTS:1REF:46210.The entire list of parent classes from which a child class is derived constitutes the ____ of the subclass.
PTS:1REF:46311.In some programming languages, such as C#, Visual Basic, and Java, every class you create is a child of one ultimate base class, often called the ____ class.a.Topc.Ultimateb.Objectd.MegaANS: B
PTS:1REF:46512.When a data field within a class is ____, no outside class can use it—including a child class.
PTS:1REF:46513.Classes that depend on field names from parent classes are said to be ____ because they are prone to errors.
PTS:1REF:47014.The capability to inherit from more than one class is called ____ inheritance.
PTS:1REF:47015.Code that has already been tested and used in a variety of situations is said to be ____.a.protectedc.overloaded

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture