Question on Non-Virtual Methods?

Hi all,
LRM says “a non-virtual method shall only override a method in that class and its descendants”, Please can anyone explain what it means probably with example.

In reply to rohit_kumar:
Hello Rohit,

One way to look at your question is there is only one implementation of virtual method
in the class hierarchy, and in latest derived class.
Plus, read the LRM further.

In reply to sunils:
It means a non-virtual method override has no effect on any reference to that method from any super class. This is in contrast to a virtual method, where you override any reference to that method starting from the class there the method was first defined to be virtual. I have an example of this in my SV OOP course.