CS202 Java-82
Final Methods – a special case
lFinal Methods?
•Means that any inheriting class cannot change its meaning
•It means that the method cannot be overridden
•Allows for any calls to this method to be inline for better efficiency
•Turns off dynamic binding
•All private members are implicitly “final”
•Because if you can’t access a private method so you couldn’t override it!
•public final void func() { //body of the function}