I have a question about inheritance. I understand what it is and mostly how to use it but I have one question about a specific situation. My example is not showing exact code but just a idea of the section of logic:
Is there a way to do this with inheritance where I only need to put my code in the statement instead of a complete copy of the origional funciton?
Code:
function [i]name[/i]:
statement-1
statement-2
condition-1:
/* I want to add logic here */
more-statements
rest-of-fuction-logic
Is there a way to do this with inheritance where I only need to put my code in the statement instead of a complete copy of the origional funciton?