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


    Question

    What is the primary purpose of an abstract class?

    A To create objects directly. Correct Answer Incorrect Answer
    B To hide all implementation details from the user. Correct Answer Incorrect Answer
    C To define static methods only. Correct Answer Incorrect Answer
    D To provide a blueprint for other classes and cannot be instantiated itself. Correct Answer Incorrect Answer
    E To allow multiple inheritance. Correct Answer Incorrect Answer

    Solution

    Answer: B) To provide a blueprint for other classes and cannot be instantiated itself.

    Practice Next
    ask-question
    9