以下列程式碼為例: BrassPlus ophelia; // derived-class object Brass * bp; // base-class pointer bp = &ophelia; // Brass pointer to BrassPlus object ...
確定! 回上一頁