Question

    What is the purpose of polymorphism in object-oriented

    programming?
    A It is a way to define multiple constructors within a class. Correct Answer Incorrect Answer
    B It is a way to define multiple methods with the same name but different parameters. Correct Answer Incorrect Answer
    C It is a way to create multiple instances of a class. Correct Answer Incorrect Answer
    D It is a way to hide the internal details of an object. Correct Answer Incorrect Answer

    Solution

    polymorphism in object-oriented programming is for same name but different implementation.

    Practice Next

    Relevant for Exams: