ЁЯУв Too many exams? DonтАЩt know which one suits you best? Book Your Free Expert ЁЯСЙ call Now!


    Question

    What happens if both base and derived classes define a

    function with the same prototype?┬а┬а
    A Compiler error during compilation Correct Answer Incorrect Answer
    B Only the base class function is called Correct Answer Incorrect Answer
    C Base and derived class functions are called depending on the object Correct Answer Incorrect Answer
    D Only the derived class function is called Correct Answer Incorrect Answer
    E None of these Correct Answer Incorrect Answer

    Solution

    Base class calls its function; derived class calls its own.┬а┬а

    Practice Next
    More Agriculture and RD Questions
    ask-question