# Can we call a virtual method in base class using extended class handle/object?

**URL:** <https://verificationacademy.com/forums/t/can-we-call-a-virtual-method-in-base-class-using-extended-class-handle-object/34982>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog, OOPS\
**Created:** [September 5, 2018, 9:58am UTC](https://verificationacademy.com/forums/t/can-we-call-a-virtual-method-in-base-class-using-extended-class-handle-object/34982 "2018-09-05T09:58:40Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [September 5, 2018, 3:24pm UTC](https://verificationacademy.com/forums/t/can-we-call-a-virtual-method-in-base-class-using-extended-class-handle-object/34982/4 "2018-09-05T15:24:49Z")

</div>

_In reply to [Manoj J](https://verificationacademy.com/forums/t/can-we-call-a-virtual-method-in-base-class-using-extended-class-handle-object/34982/3):_

Calling super.virtual\_method() calls the previous virtual\_method() from class that the current method was extended from. If there are multiple levels of inheritance with multiple virtual\_method() overrides, you skip over levels of extension by calling base\_class::virtual\_method() directly.

---

_[View the full topic](https://verificationacademy.com/forums/t/can-we-call-a-virtual-method-in-base-class-using-extended-class-handle-object/34982)._
