CAN YOU OVERRIDE PRIVATE VIRTUAL METHOD?

Kamlakar Singh

Total Post:80

Points:400
Posted by  Kamlakar Singh
C#  OOPS 
 944  View(s)
Ratings:
Rate this:
  1. Kamlakar Singh

    Post:80

    Points:400
    Can you override private virtual method?

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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!