📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    Question

    Which of the following best describes inheritance in

    object-oriented programming?
    A It is a way to create multiple instances of a class. Correct Answer Incorrect Answer
    B It is a way to define private members within a class. Correct Answer Incorrect Answer
    C It is a way to reuse code and create a hierarchy of classes. Correct Answer Incorrect Answer
    D It is a way to provide access to the internal details of an object. Correct Answer Incorrect Answer

    Solution

    Inheritance is OOPS concept to make the reusability possible.

    Practice Next
    More IT Networking Questions

    Relevant for Exams:

    ask-question