Callback() Vs Factoryoverride

Hello Team,
I was going through the Systemverilog LRM and found that callback function is used to over ride functions
Example: A Person wants to modify the driver for a specific test purpose,to induce error he would use the call back function so that with out actually touching the drivers code he can induce error onto packet.

so if my above understanding is correct then the concepr of Factory overide of OVM uses this call back mechanism of Systemverilog
am I right? or am I missing some thing here?

Ramid,

Callbacks and factory overrides are two very different mechanisms that achieve similar behaviors. Callbacks can be achieved in almost any programming language whereas the factory pattern overrides are more specific to Object-Oriented programming languages.

You can look up these terms in any other language you want to get a better description of these techniques.

Through Factory overriding we can inject an error ?