Explain keywords

Briefly describe about keywords also give example.

E

Expert

Verified

The keywords are those words which are reserved to be used for the specific task. Keywords could not be used as the identifiers. We cannot use the keyword to define name of the variable or the method. Keywords are used in programs to use features of object-oriented programming. 

For example, a abstract keyword is used to execute abstraction and a inherits keyword is used to execute inheritance by developing subclasses in the C# and Visual Basic, correspondingly. 

New keyword is commonly used in C# and Visual Basic to execute encapsulation by generating objects.

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.