About Anonymous Classes | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

About Anonymous Classes

It says, "The modification is applicable only to the current object, and not the class itself". But what happens if I attempt to override a static method on-the-fly? Will the modification retain what I modify to the end of my class's life cycle? Or will there be an error? Or is it possible to do something like this?

24th Nov 2018, 6:34 PM
cree.py
cree.py - avatar
1 Answer
+ 1
Can you show your code attempt please?
7th Dec 2018, 4:49 AM
Gordon
Gordon - avatar