Which of the following statement(s) is/are correct regarding JAVA programming?…

PYQ DSSSB 2021

Which of the following statement(s) is/are correct regarding JAVA programming? I. A class marked as final cannot be inherited. II. A method marked final cannot be overridden.

  1. A.

    Only I

  2. B.

    Only II

  3. C.

    Both I and II

  4. D.

    Neither I nor II

Attempted by 1490 students.

Sign up free to check your answer

Sign up free

Explore the full course: Dsssb Tgt Computer Science Paper 2

Loading lesson…