0
Is it possible to change the method name at run time
Take any programming language with object oriented programming language
3 odpowiedzi
+ 2
1.Copy old method to new variable.
2.delete old method.
3.add new method with new name ,assign copied method to new method.
I don't know if there is better way to do this.
also very few language will allows this to do.
https://code.sololearn.com/Wn8NOy0R5dYN/?ref=app
RAJANBABU V ,how renaming methods can be helpful,what do you think?
0
C does not come under object oriented programming language.