Can you declare the override method static while the original method is non-static?

Can you declare the override method static while the original method is non-static?

No, moreover, you cannot access private methods in inherited classes, have to be protected in the base class to allow any sort of access.

By:kamal
Date:2012-10-10 00:00:00

N0, you cant, the signature of the virtual method must remain the same, only the keyword virtual is changed to keyword override.

By:kamal
Date:2012-10-10 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related C Links

C interview questions and answers for experienced and fresher