Question 34: Under which of the following conditions will a C++ developer use polymorphism?

    A. When there is a looping construct that uses a continue more than once

    B. When there is a need for the code written today to call code written tomorrow

    C. When there is a need to check for the type of an object to determine which function must be called

    D. When there is a need to check the value of a variable to determine which of two or more functions to call

    E. When there is a need to modify the existing interface of a class

 

B  C

你可能感兴趣的:(C++,c,function,object,interface)