Skip to main content

Does a derived class's field override the property of its parent class with the same name?

This code shows that a derived class's field overrides the property of its parent class with the same name.

See it on StackBlitz