In reply to vbabusr:
I am not sure where you read virtual function and callback are do same work.
Virtual function are related to polymorphism concept.
However, callbacks provides hook to access some of method when it required.
To, know about callback you can refer below link