Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

is overriding only works with inherited methods?

Instance methods can be overridden only if they are inherited by the subclass. A method declared final cannot be overridden.
 
PREVIOUS NEXT
Tagged: #overriding #works #inherited
ADD COMMENT
Topic
Name
1+9 =