Skip to main content

Final Keyword

Learn Final Keyword (Java Basics, Java) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

1. Introduction Final prevents change: a final variable is assigned once, a final method cannot be overridden and a final class cannot be extended.

More lessons in Java Basics