Modifiers Modifiers are used to change the semantics of a statement or member. abstractThe abstract modifier is used to declare an abstract class or a method that must be implemented by derived classes. Access ModifiersAccess modifiers are used to change the visibility and access privileges for a member. finalThe final modifier is used to declare variables as always retaining the same value or reference. When used on classes, the class cannot be subclassed. overrideThe override modifier is used to override a virtual or abstract method. overwriteThe overwrite modifier is used for method hiding/shadowing (early binding). propertyThe property modifier is used to declare a method as a getter or setter. staticThe static modifier is used to declare a member as belonging to a class itself rather than its instances. virtualThe virtual modifier is used to declare a method as a virtual method that can be overridden by derived classes using the 'override' keyword. Share HTML | BBCode | Direct Link