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
Post a Comment