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


    Question

    Which of the following is a common way to achieve

    abstraction in OOP?
    A By making all methods concrete. Correct Answer Incorrect Answer
    B By using only concrete classes. Correct Answer Incorrect Answer
    C By defining abstract classes and interfaces. Correct Answer Incorrect Answer
    D By exposing all internal variables as public. Correct Answer Incorrect Answer
    E By using global functions. Correct Answer Incorrect Answer

    Solution

    By defining abstract classes and interfaces.

    Practice Next
    ask-question