oop - Java: Forcing Not to Override -


i have super class final method

public final void foo(){ ... }

no cannot it.

overriding method in subclass superclass method marked final not possible . can add method different signature

the purpose of final keyword applied method doesn't allow subclass method override it.


Comments

Popular posts from this blog

php - Cakephp Not validating data in Form -

html5 - How to use WYSIWYG editor in Phpfox? -

php - get the current k2 item ID -