Docsity

Super and final keyword in java, Study notes of Java Programming

Partial preview of the text

Download Super and final keyword in java and more Study notes Java Programming in PDF only on Docsity!

Super and final keyword in java

Syntax Usage of Superclass Example Output 8

Class declared as final This will show an error This is because classes declared as final cannot be inherited. Method declared as final Example

JVM and JIT compiler