top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

C++: Can I declare the override method static while the original method is non-static?

+2 votes
379 views
C++: Can I declare the override method static while the original method is non-static?
posted Mar 25, 2014 by Puneet Batra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

No, you cannot. The signature of the virtual method must remain the same, only the keyword virtual is changed to keyword override.

answer Mar 25, 2014 by Manish Tiwari
...