DEVFYI - Developer Resource - FYI

What is final?

Java Interview Questions and Answers (part 3)


(Continued from previous question...)

475. What is final?

A final class can't be extended ie., final class may not be subclassed. A final method can't be overridden when its class is inherited. You can't change value of a final variable (is a constant).

(Continued on next question...)

Other Interview Questions