nilesh katkar
Can I make a pure virtual function static?
By nilesh katkar in OOP/OOD on Oct 16 2007
  • Pramod Lawate
    Aug, 2016 26

    No ! since static method is not instance method or it will never call by instance by object. Hence you cant make pure virtual function as static

    • 1
  • sujeet singh
    Oct, 2009 3


    1:because static method can't be inherit.

    2:we make pure virtual function to achive late binding and late binding is not possible without pure virtual function

    • 0
  • sujeet singh
    Oct, 2009 3


    • 0
  • anant patil
    Sep, 2009 26

    No . u can't.

    • 0
  • Rekha Singh
    Jul, 2009 30

    A static member cannot be marked as override, virtual, or abstract

    • 0
  • Malaikani Rajamani
    Jan, 2009 21

    No, you cann't make virtual function as static

    • 0
  • nilesh katkar
    Oct, 2007 16

    I have no idea.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS