Originally Posted by
kalees
final keyword should not allow to override add elements correct?.can u explain me properly?
'Override' refers to declaring, when you write a subclass, methods that have the same signature (name, parameters) as methods in the superclass, so when called on a subclass instance, the subclass methods will be called instead of the superclass methods - they 'override' the superclass methods.
Calling a method on an object several times is not overriding, it's just calling a method.