Virtual keyword in

Поділитися
Вставка
  • Опубліковано 31 жов 2024

КОМЕНТАРІ • 9

  • @susheelapatagar
    @susheelapatagar  8 місяців тому +2

    2:12 : virtual methods in base class helps us to override one of its child classes but virtual method will be overridden by the child class always.
    📌3:59 : In the table, method called are interchanged. Please don't get confused.
    If base class is virtual irrespective of the sub class method type, we will get the child class method.
    //Sorry

  • @ramudukuruva3145
    @ramudukuruva3145 8 місяців тому +1

    Explanation super ❤❤ and I am waiting for another constraint randomisation and functional coverage

  • @harjeetsingh-ey4fh
    @harjeetsingh-ey4fh 8 місяців тому +1

    Thankyou mam

  • @Eshwarigummadidala1995
    @Eshwarigummadidala1995 3 місяці тому +1

    table is wrong which i compare with ur explaing plz check and correct it

    • @susheelapatagar
      @susheelapatagar  3 місяці тому

      Yeah.Thanks for noticing it.
      Its not possible to modify the uploaded video. So I have pinned my comment regarding this.

  • @ArjunKasha
    @ArjunKasha 7 місяців тому +1

    Hi is the table is wrong? as I can see that Base is virtual means irrespective of anything the method will be of extended class and if the base class is non virtual then irrespective of anything the method will be of base class.

    • @susheelapatagar
      @susheelapatagar  7 місяців тому

      Yes in table its interchanged. I have pinned my comment when I realised it. Sorry