Final

Why Trust Techopedia

What Does Final Mean?

Final is a keyword which is used to define an entity that cannot be changed nor derived from later. The final keyword is used in three different contexts. For example, afinal class, final method, andfinal variables.

Advertisements

Techopedia Explains Final

Final class: When a class is declared as final, it cannot be extended. A class can be declared as final in situations where the class is logically complete.

Final Method: When the method is declared as final then the method cannot be overriden by the subclass.

Final Variables: Once the variable is declared as final then the value of the variable cannot be changed.

Advertisements

Related Terms

Margaret Rouse
Technology Specialist
Margaret Rouse
Technology Specialist

Margaret is an award-winning writer and educator known for her ability to explain complex technical topics to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles in the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret’s idea of ​​a fun day is to help IT and business professionals to learn to speak each other’s highly specialized languages.