Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

final method and abstract method

Final method: Cannot be overridden (changing implementation) 
Abstract method: is meant to be overridden 
Any method can be final whether static or non-private you can
make the as final. cannot be abstract.
constructor cannot be final you cannot declare without body
 
PREVIOUS NEXT
Tagged: #final #method #abstract #method
ADD COMMENT
Topic
Name
9+9 =