top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

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

+2 votes
94 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 Google+ Share Button LinkedIn Share Button Multiple Social 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
Similar Questions
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...