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


    Question

    What is the keyword used in Java to indicate that a

    class is inheriting from another class?
    A `implements` Correct Answer Incorrect Answer
    B `extends` Correct Answer Incorrect Answer
    C `inherits` Correct Answer Incorrect Answer
    D `uses` Correct Answer Incorrect Answer
    E `derives` Correct Answer Incorrect Answer

    Solution

    The correct answer is B

    Practice Next
    ask-question