EasyConceptCore Java and OOP
What does the final keyword do on a variable, method and class?
What a good answer covers
A final variable can be assigned once, a final method cannot be overridden, and a final class cannot be extended. A final reference still allows the referenced object to change.
PreviousWhat are the four pillars of object-oriented programming?Next What is autoboxing and what risk does it carry?