CAN YOU DECLARE THE OVERRIDE METHOD STATIC WHILE THE ORIGINAL METHOD IS NON-STATIC?

Pooja Malohtra

Total Post:36

Points:180
Posted by  Pooja Malohtra
OOPS 
 1912  View(s)
Ratings:
Rate this:
  1. Pooja Malohtra

    Post:36

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

    No, you can’t, the signature of the virtual method must remain the same, only the keyword virtual is changed to keyword override.

Answer

NEWSLETTER

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