I need some advice regarding my doubt. I need to declare a function in a class/ file and to define it in another class is it possible to do so?
My instance is I have a billing module integrated to my application. I am just accepting some parameters to this module from different modules and process it in a function declared and defined in the billing module. When I am incorporating this billing module to all other modules I need to run some set of code in each module which will be unique for each module. So kindly suggest me a way to declare a function in billing module and it can be definable in all other modules and it should be executable in billing module..