Hardware interview practice
UVM polymorphism and virtual dispatch
A base-class handle refers to a derived object, and run() is virtual and overridden. Which implementation is called by handle.run()?
Choose one
Answer choices
- A. Always the base implementation
- B. The derived implementation
- C. Both implementations in random order
- D. Neither; virtual calls are illegal
