0

Is it possible to change the method name at run time

Take any programming language with object oriented programming language

10th Dec 2019, 2:46 AM
RAJANBABU V
RAJANBABU V - avatar
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?
10th Dec 2019, 3:29 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
0
C does not come under object oriented programming language.
10th Dec 2019, 4:43 AM
Avinesh
Avinesh - avatar