Multiple choice

Which of the following is/are true statements in java?

  1. A final method cannot be overridden.

  2. A static method cannot be overridden.

  3. A method which is not overriden, cannot be inherited too.

  4. All of the above

  5. Only (1) and (2)

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Yes, all are the true statements.