abcprep.com - your onestop GMAT, GRE, PMP hub
.NET FAQs Unleashed!
 
    



    


Explain overridable, overrides, notoverridable,mustoverride

These keywords are used in VB.NET.

Overridable -The Overridable keyword is used when defining a property or method of an inherited class, as overridable by the inheriting class.

Overides - The Overides keyword allows the inheriting class to disregard the property or method of the inherited class and implements ts own code.

NotOverridable - The NotOverridable keyword explicitly declares a property or method as not overridable by an inheriting class, and all properties are "not overridable" by default. The only real advantage to using this keyword is to make your code more readable.

MustOverride - The MustOverride keyword forces the inheriting class to implement its own code for the property or method.

OOPs  Class  Encapsulation  Inheritance  Class Member  Polymorphism  Property Event  Access Modifier  Overloading  Shared  Virtual  Overridable Overrides Mustoverride  Shadows  Constructor  Static Constructor  Serialization  Delegate  Abstract  Interface  Multiple Inheritance 








Know Your Breath, Know Your Life!!!