Which of the following statements is/are correct regarding the programming of JAVA?

I. A class that is marked as final cannot be overwritten.

II. A method that is marked as final cannot be overridden.

1
Neither I nor II
2
Both I and II
3
Only I
4
Only II
5
Question Not Attempted

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation