Differentiate between new and override modifiers.

Last updated 3 weeks, 5 days ago | 17 views 75     5

Tags:- Python

Python | New and Override Modifiers

The new modifier is used to instruct the compiler to use the new implementation and not the base class function. The Override modifier is useful for overriding a base class function inside the child class.