Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please Answer 1. (TCO 4) If class AClass is derived from class BClass, which one

ID: 3551165 • Letter: P

Question

Please Answer

1. (TCO 4) If class AClass is derived from class BClass, which one of the following statements correctly states the destructor call sequence when an object of class AClass goes out of scope Points 4) O BClass destructor first, AClass destructor second O AClass destructor first, BClass destructor second O BClass destructor on The AClass destructor is not called if the AClass is derived private from BClass. O AClass destructor on The BClass destructor is not called if the BClass is derived private from AClass. 2. (TCO 4) To overload a member function of the base class, Points 4) O the name of the function and the formal parameter list of the corresponding function in the derived class must be same the name of the function must be different, and the formal parameter list of the corresponding function in the derived class must be same the name of the function and the formal parameter list of the corresponding function in the derived class must be different the name of the function must be the same, and the formal parameter list of the corresponding function in the derived class must be different 3. (TCC 4) The existing classes, from which you create new classes, are called the classes. (Points 4) O child base O sibling derived 4. (TCO 5) Ifp is a pointer variable of type int, and num is an int variable what is the result of the statement p E #:? Points 4) O p is equal to num. O p is equal to the address of nu O nu m is equal to the address of p O p and num are concatenated and assigned to p

Explanation / Answer

1-c 2-a 3-d 4-b