0
Which of the following statement is/are correct regarding JAVA programming?
I. A class marked as final cannot be inherited
II. A method marked final cannot be overridden
I. A class marked as final cannot be inherited
II. A method marked final cannot be overridden
- ABoth I and II
- BOnly I
- CNeither I nor II
- DOnly II
Correct answer: A